Skip to content

Commit

Permalink
fix py3k 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Feb 20, 2016
1 parent 2bcb2e4 commit 8e9528a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntfy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main(cli_args=None):
if args.backend:
config['backends'] = args.backend

if args.func == run_cmd and args.longer_than is None and \
if getattr(args, 'func', None) == run_cmd and args.longer_than is None and \
'longer_than' in config:
args.longer_than = config['longer_than']

Expand Down

0 comments on commit 8e9528a

Please sign in to comment.