From 2238770b061e613435f31238aa6deb482f8f2d34 Mon Sep 17 00:00:00 2001 From: Salastil Date: Thu, 23 Oct 2025 20:15:18 -0400 Subject: [PATCH] syntax error with a multi-line f-strings --- sneedchatdiscordbridge.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sneedchatdiscordbridge.py b/sneedchatdiscordbridge.py index c85fe84..eb6fafe 100755 --- a/sneedchatdiscordbridge.py +++ b/sneedchatdiscordbridge.py @@ -118,9 +118,7 @@ logger.info(f"Using Sneedchat room ID: {SNEEDCHAT_ROOM_ID}") logger.info(f"Bridge username: {BRIDGE_USERNAME}") if BRIDGE_USER_ID: logger.info(f"Bridge user filtering enabled - ID: {BRIDGE_USER_ID}") -logger.info( - f"File logging: { - 'enabled' if ENABLE_FILE_LOGGING else 'disabled'}") +logger.info(f"File logging: {'enabled' if ENABLE_FILE_LOGGING else 'disabled'}") # ----------------------------- # BBCode -> Markdown parser @@ -375,9 +373,7 @@ class CookieRefreshService: logger.error("❌ Login failed: no cookies received") return None cookie_string = "; ".join(auth_cookies) - logger.info( - f"✅ Successfully fetched fresh cookie ({ - len(auth_cookies)} tokens)") + logger.info(f"✅ Successfully fetched fresh cookie ({len(auth_cookies)} tokens)") return cookie_string except Exception as e: logger.error(f"❌ Failed to fetch fresh cookie: {e}")