From 2ace57c5a7948495fdc0dc2ab40f8d098545469e Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 4 Apr 2023 14:15:35 +0200 Subject: [PATCH] fix: [modules] small fixs --- bin/crawlers/Crawler.py | 2 +- bin/packages/Import_helper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/crawlers/Crawler.py b/bin/crawlers/Crawler.py index 6967da77..9c117e0b 100755 --- a/bin/crawlers/Crawler.py +++ b/bin/crawlers/Crawler.py @@ -43,7 +43,7 @@ class Crawler(AbstractModule): # LACUS self.lacus = crawlers.get_lacus() - self.is_lacus_up = is_lacus_connected(delta_check=0) + self.is_lacus_up = crawlers.is_lacus_connected(delta_check=0) # Capture self.har = None diff --git a/bin/packages/Import_helper.py b/bin/packages/Import_helper.py index a3ce1699..55cbd14c 100755 --- a/bin/packages/Import_helper.py +++ b/bin/packages/Import_helper.py @@ -16,7 +16,7 @@ from lib import ConfigLoader config_loader = ConfigLoader.ConfigLoader() -r_serv_db = config_loader.get_redis_conn("Kvrocks_DB") +r_serv_db = config_loader.get_db_conn("Kvrocks_DB") r_serv_log_submit = config_loader.get_redis_conn("Redis_Log_submit") config_loader = None