This commit is contained in:
terorie 2018-12-07 01:14:05 +01:00
parent e6b4987f3e
commit 17a094e8ff
No known key found for this signature in database
GPG Key ID: C268B2BBDA2ABECB

View File

@ -348,7 +348,7 @@ class Database:
info["file_count_avg"] = info["file_count"] / task_count info["file_count_avg"] = info["file_count"] / task_count
stats.append((crawler.name, info)) stats.append((crawler.name, info))
stats.sort(key=lambda t: t["task_count"]) stats.sort(key=lambda t: t[1]["task_count"])
return stats return stats