diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 20:38:39 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-01 20:38:39 +0200 |
commit | c9b8dab7aaf902682e268c079531ddbe20aad5b5 (patch) | |
tree | 10987f784d04039a54a8aeec88021e54a9c3feaf | |
parent | 4820353bed7a650c7a1c6ee0709484682232eddb (diff) | |
download | RWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.tar.gz RWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.tar.bz2 RWA.Support.SessionService-c9b8dab7aaf902682e268c079531ddbe20aad5b5.zip |
Fix bug when python version not ^3.9
-rwxr-xr-x | rwa/support/sessionservice/service.py | 2 |
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: |