Fixed missing 'in preparation since today'
This commit is contained in:
parent
8a96696731
commit
f503783ea5
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue