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.