Fixed missing 'in preparation since today'

This commit is contained in:
Stefan Ritter 2009-10-29 10:54:01 +01:00
parent 8a96696731
commit f503783ea5

View file

@ -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: