diff --git a/pebblo/app/config/config.py b/pebblo/app/config/config.py index a0e3e857..0d5bb752 100644 --- a/pebblo/app/config/config.py +++ b/pebblo/app/config/config.py @@ -30,7 +30,7 @@ class Config(BaseSettings): reports: ReportConfig logging: LoggingConfig -def load_config(path, p_bar=None) -> Config: +def load_config(path) -> Config: try: # If Path does not exist in command, set default config value conf_obj = Config( diff --git a/pebblo/app/daemon.py b/pebblo/app/daemon.py index fdeed19c..fd065b5f 100644 --- a/pebblo/app/daemon.py +++ b/pebblo/app/daemon.py @@ -19,7 +19,7 @@ def start(): args = parser.parse_args() path = args.config p_bar = tqdm(range(10)) - config_details = load_config(path, p_bar) + config_details = load_config(path) classifier_init(p_bar) server_start(config_details, p_bar) print("Pebblo server Stopped. BYE!")