summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-10-29 10:54:01 +0100
committerStefan Ritter <xeno@thehappy.de>2009-10-29 10:54:01 +0100
commitf503783ea5d944578d1fda18cbbcd6c139d655b1 (patch)
tree68861b2a818fa8cffbf1c367599de94311feabba
parent8a96696731ce4c1c1461240c865eef167ef34445 (diff)
Fixed missing 'in preparation since today'
-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: