From ea3490098a0b3a2b3e0488d9e4466be53241bee0 Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 25 Nov 2024 01:49:14 +1000 Subject: [PATCH] Fix crash on Python 3.11 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e33d52b..0d8beb7 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,7 @@ if __name__ == "__main__": client = Mastodon(access_token=f"accounts/{account}.secret") creds = client.account_verify_credentials() - print(f"Logged in: {creds["display_name"]} (@{creds["fqn"]})") + print(f"Logged in:", creds["display_name"], "(@" + creds["fqn"] + ")") instance = client.instance() char_limit = instance["configuration"]["statuses"]["max_characters"]