From 77269f5c8f9a4c35dce47bd324f5ae16954b09fd Mon Sep 17 00:00:00 2001 From: Zedifus Date: Tue, 6 Aug 2024 22:14:25 +0100 Subject: [PATCH] Fix black formatting issues --- app/classes/models/servers.py | 2 +- app/classes/shared/main_controller.py | 2 +- main.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/classes/models/servers.py b/app/classes/models/servers.py index d9016877..bf0591e2 100644 --- a/app/classes/models/servers.py +++ b/app/classes/models/servers.py @@ -112,7 +112,7 @@ class HelperServers: stop_command=server_stop, type=server_type, created_by=created_by, - app_id: app_id, + app_id=app_id, ).server_id @staticmethod diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index 8120d270..20bcf38c 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -46,7 +46,7 @@ class Controller: self.helper: Helpers = helper self.file_helper: FileHelpers = file_helper self.import_helper: ImportHelpers = import_helper - + self.big_bucket: BigBucket = BigBucket(helper) self.steam_apps: SteamApps = SteamApps(helper) diff --git a/main.py b/main.py index 5d08deb5..b11221d1 100644 --- a/main.py +++ b/main.py @@ -132,6 +132,7 @@ def tasks_starter(): tasks_manager.big_bucket_cache_refresher() tasks_manager.steamapps_cache_refresher() + def signal_handler(signum, _frame): """ Method handles sigterm and shuts the app down.