summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwnpp-query.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wnpp-query.py b/wnpp-query.py
index 97abb2d..13b7a85 100755
--- a/wnpp-query.py
+++ b/wnpp-query.py
@@ -67,10 +67,11 @@ for line in url:
if re.match('^requested(.*)$', line) \
or re.match('^(.*)days in preparation(.*)$', line) \
- or re.match('^in preparation since yesterday\.$', line):
+ or re.match('^in preparation since(.*)$', line):
if options.itp:
if re.match('^in preparation since yesterday\.$', line): days = '1'
+ elif re.match('^in preparation since today\.$', line): days = '0'
else: days = line.split(' ')[0]
else: