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)