fix: [Crawler] typo

pull/333/head
Terrtia 2019-01-29 12:19:10 +01:00
parent 2dc0eca4a9
commit b9572e0085
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 3 additions and 3 deletions

View File

@ -106,9 +106,9 @@ def hiddenServices_page():
crawler_metadata=[]
all_onion_crawler = r_cache.smembers('all_crawler:onion')
for crawler in all_onion_crawler:
crawling_domain = r_cache.hget('metadata_crawler:{}'.format(splash_port), 'crawling_domain')
started_time = r_cache.hget('metadata_crawler:{}'.format(splash_port), 'started_time')
status_info = r_cache.hget('metadata_crawler:{}'.format(splash_port), 'status')
crawling_domain = r_cache.hget('metadata_crawler:{}'.format(crawler), 'crawling_domain')
started_time = r_cache.hget('metadata_crawler:{}'.format(crawler), 'started_time')
status_info = r_cache.hget('metadata_crawler:{}'.format(crawler), 'status')
crawler_info = '{} - {}'.format(crawler, started_time)
if status_info=='Waiting' or status_info=='Crawling':
status=True