mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-30 15:31:11 +00:00
Refined warning message
This commit is contained in:
parent
2015e43e23
commit
ee0dcd2ec0
6
twoot.py
6
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'):
|
||||
|
|
Loading…
Reference in New Issue
Block a user