From 0a20bb3e8dd6cbd11b58cdecb1cc54d52ae80663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian-Samuel=20Geb=C3=BChr?= Date: Wed, 11 Jan 2023 21:27:20 +0100 Subject: [PATCH] Fix logging strings --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index f2281a8..bf298ac 100644 --- a/models.py +++ b/models.py @@ -118,11 +118,11 @@ class Instance: elif diff["remote"] is None: """Add the block on the remote server""" diff["local"].apply(server, token) - logging.info(f"Added {diff['remote'].domain} to blocklist") + logging.info(f"Added {diff['local'].domain} to blocklist") else: """Update the block on the remote server""" diff["local"].apply(server, token, block_id=diff["remote"].id) - logging.info(f"Updated {diff['remote'].domain} in blocklist") + logging.info(f"Updated {diff['local'].domain} in blocklist") @staticmethod def show_diffs(local_blocklist, remote_blocklist):