syntax error with a multi-line f-strings
This commit is contained in:
@@ -118,9 +118,7 @@ logger.info(f"Using Sneedchat room ID: {SNEEDCHAT_ROOM_ID}")
|
|||||||
logger.info(f"Bridge username: {BRIDGE_USERNAME}")
|
logger.info(f"Bridge username: {BRIDGE_USERNAME}")
|
||||||
if BRIDGE_USER_ID:
|
if BRIDGE_USER_ID:
|
||||||
logger.info(f"Bridge user filtering enabled - ID: {BRIDGE_USER_ID}")
|
logger.info(f"Bridge user filtering enabled - ID: {BRIDGE_USER_ID}")
|
||||||
logger.info(
|
logger.info(f"File logging: {'enabled' if ENABLE_FILE_LOGGING else 'disabled'}")
|
||||||
f"File logging: {
|
|
||||||
'enabled' if ENABLE_FILE_LOGGING else 'disabled'}")
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
# BBCode -> Markdown parser
|
# BBCode -> Markdown parser
|
||||||
@@ -375,9 +373,7 @@ class CookieRefreshService:
|
|||||||
logger.error("❌ Login failed: no cookies received")
|
logger.error("❌ Login failed: no cookies received")
|
||||||
return None
|
return None
|
||||||
cookie_string = "; ".join(auth_cookies)
|
cookie_string = "; ".join(auth_cookies)
|
||||||
logger.info(
|
logger.info(f"✅ Successfully fetched fresh cookie ({len(auth_cookies)} tokens)")
|
||||||
f"✅ Successfully fetched fresh cookie ({
|
|
||||||
len(auth_cookies)} tokens)")
|
|
||||||
return cookie_string
|
return cookie_string
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"❌ Failed to fetch fresh cookie: {e}")
|
logger.error(f"❌ Failed to fetch fresh cookie: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user