diff --git a/twoot.py b/twoot.py index 03081f6..c3e8570 100755 --- a/twoot.py +++ b/twoot.py @@ -508,9 +508,9 @@ def login(password): exit(-1) if os.path.isfile(TOML['config']['mastodon_user'] + '.secret'): - logging.warning("""You successfully logged in using a password. An access token - has been saved therefore the password can be omitted from the - command-line in future invocations""") + logging.warning('You successfully logged in using a password and an access token \ + has been saved. The password can therefore be omitted from the \ + command-line in future invocations') else: # No password provided, login with token # Using token in existing .secret file if os.path.isfile(TOML['config']['mastodon_user'] + '.secret'):