From f5b6583dbf876ea02c7d2a3832626392992a3e5f Mon Sep 17 00:00:00 2001 From: luukas Date: Fri, 30 Jul 2021 19:27:48 +0300 Subject: [PATCH] Remove unnecessary console.debug's --- app/classes/shared/tasks.py | 1 - app/classes/web/server_handler.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/app/classes/shared/tasks.py b/app/classes/shared/tasks.py index 660af321..3a23eeaf 100644 --- a/app/classes/shared/tasks.py +++ b/app/classes/shared/tasks.py @@ -211,7 +211,6 @@ class TasksManager: time.sleep(8) def log_watcher(self): - console.debug('in log_watcher') helper.check_for_old_logs(db_helper) schedule.every(6).hours.do(lambda: helper.check_for_old_logs(db_helper)).tag('log-mgmt') diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index f89fc1e2..d5aac5a2 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -107,8 +107,6 @@ class ServerHandler(BaseHandler): name_counter += 1 new_server_name = server_data.get('server_name') + " (Copy {})".format(name_counter) - console.debug('new_server_name: "{}"'.format(new_server_name)) - new_server_uuid = helper.create_uuid() while os.path.exists(os.path.join(helper.servers_dir, new_server_uuid)): new_server_uuid = helper.create_uuid() @@ -145,7 +143,6 @@ class ServerHandler(BaseHandler): }).execute() self.controller.init_all_servers() - console.debug('initted all servers') return