diff options
-rwxr-xr-x | wnpp-query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wnpp-query.py b/wnpp-query.py index b49e21c..3b9de78 100755 --- a/wnpp-query.py +++ b/wnpp-query.py @@ -71,7 +71,7 @@ for line in url: if options.itp: if in_prep_yesterday.match(line): days = '1' elif in_prep_today.match(line): days = '0' - else: 0 days = line.split(' ')[0] + else: days = line.split(' ')[0] else: if req_yesterday.match(line): days = '1' elif req_today.match(line): days = '0' |