diff --git a/twoot.py b/twoot.py index 48c9403..ccf2615 100755 --- a/twoot.py +++ b/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