From 6696f405e1d3f66731f35702effaba665e973cfa Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 30 Mar 2021 09:14:18 +0200 Subject: [PATCH] fix: [crawler UI] remove unused crawlers configuration --- var/www/blueprints/crawler_splash.py | 5 +++-- .../crawler/crawler_splash/settings_splash_crawler.html | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/var/www/blueprints/crawler_splash.py b/var/www/blueprints/crawler_splash.py index 9d4d5120..9ad499e0 100644 --- a/var/www/blueprints/crawler_splash.py +++ b/var/www/blueprints/crawler_splash.py @@ -509,7 +509,7 @@ def crawler_splash_setings(): is_manager_connected = crawlers.get_splash_manager_connection_metadata(force_ping=True) nb_crawlers_to_launch = crawlers.get_nb_crawlers_to_launch() - crawler_full_config = Config_DB.get_full_config_by_section('crawler') + #crawler_full_config = Config_DB.get_full_config_by_section('crawler') is_crawler_working = crawlers.is_test_ail_crawlers_successful() crawler_error_mess = crawlers.get_test_ail_crawlers_message() @@ -520,7 +520,8 @@ def crawler_splash_setings(): nb_crawlers_to_launch=nb_crawlers_to_launch, is_crawler_working=is_crawler_working, crawler_error_mess=crawler_error_mess, - crawler_full_config=crawler_full_config) + #crawler_full_config=crawler_full_config + ) @crawler_splash.route('/crawler/settings/crawler_manager', methods=['GET', 'POST']) @login_required diff --git a/var/www/templates/crawler/crawler_splash/settings_splash_crawler.html b/var/www/templates/crawler/crawler_splash/settings_splash_crawler.html index 090d9368..739350e4 100644 --- a/var/www/templates/crawler/crawler_splash/settings_splash_crawler.html +++ b/var/www/templates/crawler/crawler_splash/settings_splash_crawler.html @@ -274,7 +274,7 @@ -
+ +
@@ -316,7 +316,7 @@ - + -->