From c699e80e25ad3cb374c638f79c9e953cea64fc72 Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 24 Nov 2022 08:35:19 +0100 Subject: [PATCH] Corrected TOML key --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 13b0c3b..bd83770 100755 --- a/twoot.py +++ b/twoot.py @@ -355,9 +355,9 @@ def login(password): ) mastodon.log_in( - username=TOML['options']['twitter_account'], + username=TOML['config']['twitter_account'], password=password, - to_file=TOML['options']['twitter_account'] + ".secret" + to_file=TOML['config']['twitter_account'] + ".secret" ) logging.info('Logging in to ' + instance)