From 80409af1fe5c1901255a261239d0843a213cecc1 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Tue, 29 Mar 2022 08:52:59 -0700 Subject: [PATCH] add missing `f` to log format string --- activitypub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.py b/activitypub.py index e81d23c..5eb52a8 100644 --- a/activitypub.py +++ b/activitypub.py @@ -51,7 +51,7 @@ def send(activity, inbox_url, user_domain): Returns: requests.Response """ - logger.info('Sending AP request from {user_domain}: {json_dumps(activity, indent=2)}') + logger.info(f'Sending AP request from {user_domain}: {json_dumps(activity, indent=2)}') # prepare HTTP Signature (required by Mastodon) # https://w3c.github.io/activitypub/#authorization