Skip to content

Commit

Permalink
Fix 🐛 introduced by ntfy[pid] when not using it. Should fix #42
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Schep committed Mar 21, 2016
1 parent 4942237 commit 362341d
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 @@ -23,7 +23,7 @@


def run_cmd(args):
if args.pid:
if getattr(args, 'pid', False):
return watch_pid(args)
if not args.command:
stderr.write('usage: ntfy done [-h|-L N] command\n'
Expand Down

0 comments on commit 362341d

Please sign in to comment.