From c9b8dab7aaf902682e268c079531ddbe20aad5b5 Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Thu, 1 Jul 2021 20:38:39 +0200 Subject: Fix bug when python version not ^3.9 --- rwa/support/sessionservice/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rwa/support/sessionservice/service.py b/rwa/support/sessionservice/service.py index cdf2a1d..55ec593 100755 --- a/rwa/support/sessionservice/service.py +++ b/rwa/support/sessionservice/service.py @@ -111,7 +111,7 @@ class RWASupportSessionService(dbus.service.Object): def _build_host_dict(self, host_id: str, host: dict) -> dict: """Include the host ID in the host dictionary.""" - return host | {"id": host_id} + return host.update({"id": host_id}) @dbus.service.method("org.ArcticaProject.RWASupportSessionService", out_signature="s") def get_web_app_hosts(self) -> str: -- cgit v1.2.3