mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-26 01:48:42 +00:00
Password no longer required
This commit is contained in:
parent
8ca17bef58
commit
9caa7ce1ef
5
twoot.py
5
twoot.py
@ -159,9 +159,6 @@ def build_config(args):
|
||||
if 'mastodon_user' not in TOML['config'].keys() or TOML['config']['mastodon_user'] == "":
|
||||
print('CRITICAL: Missing Mastodon user')
|
||||
exit(-1)
|
||||
if args['p'] is None:
|
||||
print('CRITICAL: Missing Mastodon user password')
|
||||
exit(-1)
|
||||
|
||||
|
||||
def deredir_url(url):
|
||||
@ -527,7 +524,7 @@ def login(password):
|
||||
logging.fatal(me)
|
||||
exit(-1)
|
||||
else:
|
||||
logging.fatal('No secret file found. Password required to log in')
|
||||
logging.fatal('No .secret file found. Password required to log in')
|
||||
exit(-1)
|
||||
|
||||
return mastodon
|
||||
|
Loading…
x
Reference in New Issue
Block a user