This commit is contained in:
terorie 2018-12-07 01:14:44 +01:00
parent 17a094e8ff
commit c4b35c3caf
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[1]["task_count"]) stats.sort(key=lambda t: t[1]["task_count"], reverse=True)
return stats return stats