aboutsummaryrefslogtreecommitdiff
path: root/rwa/support/sessionservice
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-01 20:38:39 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-01 20:38:39 +0200
commitc9b8dab7aaf902682e268c079531ddbe20aad5b5 (patch)
tree10987f784d04039a54a8aeec88021e54a9c3feaf /rwa/support/sessionservice
parent4820353bed7a650c7a1c6ee0709484682232eddb (diff)
downloadRWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.tar.gz
RWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.tar.bz2
RWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.zip
Fix bug when python version not ^3.9
Diffstat (limited to 'rwa/support/sessionservice')
-rwxr-xr-xrwa/support/sessionservice/service.py2
1 files changed, 1 insertions, 1 deletions
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: