summaryrefslogtreecommitdiffstats
path: root/wnpp-query.py
diff options
context:
space:
mode:
Diffstat (limited to 'wnpp-query.py')
-rwxr-xr-xwnpp-query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wnpp-query.py b/wnpp-query.py
index a7dcb3b..7245b40 100755
--- a/wnpp-query.py
+++ b/wnpp-query.py
@@ -23,7 +23,7 @@ parser.add_option('--max', dest='max_days_old', type="int", help='maximum age (i
if not options.min_days_old and not options.max_days_old or not options.itp and not options.rfp or options.itp and options.rfp:
parser.error('You have to give at least one of --min or --max and one of -r or -i options.')
- sys.exit
+ sys.exit(0)
if not options.min_days_old: options.min_days_old = 0
if not options.max_days_old: options.max_days_old = 9999