Bugfix: age should be handled as integer while sorting
This commit is contained in:
parent
2bb3caeac3
commit
071730a33c
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ for line in url:
|
|||
reports.append(item)
|
||||
item = []
|
||||
|
||||
reports.sort(key = lambda x: x[3])
|
||||
reports.sort(key = lambda x: int(x[3]))
|
||||
for entry in reports:
|
||||
if int(entry[3]) <= options.max_days_old \
|
||||
and int(entry[3]) >= options.min_days_old:
|
||||
|
|
Loading…
Reference in a new issue