diff --git a/src/primaite/game/game.py b/src/primaite/game/game.py index 7c2f49e7..7c5c93bc 100644 --- a/src/primaite/game/game.py +++ b/src/primaite/game/game.py @@ -376,7 +376,7 @@ class PrimaiteGame: if service_class is not None: _LOGGER.debug(f"installing {service_type} on node {new_node.hostname}") - new_node.software_manager.install(service_class, **service_cfg.get('options', {})) + new_node.software_manager.install(service_class, **service_cfg.get("options", {})) new_service = new_node.software_manager.software[service_class.__name__] # fixing duration for the service diff --git a/src/primaite/simulator/system/applications/database_client.py b/src/primaite/simulator/system/applications/database_client.py index 2b2be7b2..2079194a 100644 --- a/src/primaite/simulator/system/applications/database_client.py +++ b/src/primaite/simulator/system/applications/database_client.py @@ -309,9 +309,7 @@ class DatabaseClient(Application, identifier="DatabaseClient"): if not self._can_perform_action(): return None if self.server_ip_address is None: - self.sys_log.warning( - f"{self.name}: Database server IP address not provided." - ) + self.sys_log.warning(f"{self.name}: Database server IP address not provided.") return None connection_request_id = str(uuid4())