diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-10-29 10:54:01 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-10-29 10:54:01 +0100 |
commit | f503783ea5d944578d1fda18cbbcd6c139d655b1 (patch) | |
tree | 68861b2a818fa8cffbf1c367599de94311feabba | |
parent | 8a96696731ce4c1c1461240c865eef167ef34445 (diff) |
Fixed missing 'in preparation since today'
Diffstat (limited to '')
-rwxr-xr-x | wnpp-query.py | 3 |
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: |