From 9b66fa703fe46403960b83a70bfa6df13698ec63 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Fri, 3 May 2019 10:04:20 +0200 Subject: [PATCH] fix: [crawler] typo: domains down --- var/www/modules/hiddenServices/Flask_hiddenServices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/modules/hiddenServices/Flask_hiddenServices.py b/var/www/modules/hiddenServices/Flask_hiddenServices.py index fd68dc93..2d45b9c6 100644 --- a/var/www/modules/hiddenServices/Flask_hiddenServices.py +++ b/var/www/modules/hiddenServices/Flask_hiddenServices.py @@ -794,7 +794,7 @@ def domain_crawled_by_type_json(): day_crawled = {} day_crawled['date']= date[0:4] + '-' + date[4:6] + '-' + date[6:8] day_crawled['UP']= nb_domain_up = r_serv_onion.scard('{}_up:{}'.format(type, date)) - day_crawled['DOWN']= nb_domain_up = r_serv_onion.scard('{}_up:{}'.format(type, date)) + day_crawled['DOWN']= nb_domain_up = r_serv_onion.scard('{}_down:{}'.format(type, date)) range_decoder.append(day_crawled) return jsonify(range_decoder)