mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Crawl server names that are numeric now show up in stats page
This commit is contained in:
parent
3b3661cae2
commit
a8a658f55b
@ -334,7 +334,7 @@ class Database:
|
|||||||
|
|
||||||
cursor.execute("SELECT website_id, status_code, file_count, start_time, end_time, server "
|
cursor.execute("SELECT website_id, status_code, file_count, start_time, end_time, server "
|
||||||
"FROM TaskResult ORDER BY end_time DESC")
|
"FROM TaskResult ORDER BY end_time DESC")
|
||||||
return [tasks.TaskResult(r[1], r[2], r[3], r[4], r[0], r[5]) for r in cursor.fetchall()]
|
return [tasks.TaskResult(r[1], r[2], r[3], r[4], r[0], str(r[5])) for r in cursor.fetchall()]
|
||||||
|
|
||||||
def get_stats_by_crawler(self):
|
def get_stats_by_crawler(self):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user