diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-06-30 00:40:31 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-06-30 00:40:31 +0200 |
commit | 7bc568f0158b6cbc80ce31424a52ba6788318f72 (patch) | |
tree | 2b8fc284122540e8dbfb9e14fc35069e5133dbbf /rwa/support/sessionservice | |
parent | 4c5b30bd253dd0230afffb29c6daa6c338c2749c (diff) | |
download | RWA.Support.SessionService-7bc568f0158b6cbc80ce31424a52ba6788318f72.tar.gz RWA.Support.SessionService-7bc568f0158b6cbc80ce31424a52ba6788318f72.tar.bz2 RWA.Support.SessionService-7bc568f0158b6cbc80ce31424a52ba6788318f72.zip |
service.py: Add 'str()' to incomming 'string'mr/add_web_app_host-fix-str-casting-issue
Diffstat (limited to 'rwa/support/sessionservice')
-rwxr-xr-x | rwa/support/sessionservice/service.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rwa/support/sessionservice/service.py b/rwa/support/sessionservice/service.py index 52bf627..8957708 100755 --- a/rwa/support/sessionservice/service.py +++ b/rwa/support/sessionservice/service.py @@ -114,7 +114,8 @@ class RWASupportSessionService(dbus.service.Object): ["https://example.org", "http://127.0.0.1:8000"] """ - user_settings.web_app_hosts.append(host) + # TODO: check for valid URL! + user_settings.web_app_hosts.append(str(host)) user_settings.save_settings() return self._get_web_app_hosts() |