summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwnpp-query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wnpp-query.py b/wnpp-query.py
index bb39b2d..75e61a8 100755
--- a/wnpp-query.py
+++ b/wnpp-query.py
@@ -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: