aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-02 20:42:42 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-07-02 20:42:42 +0200
commit651d0b73df96fa467c1de207ac8055f4e0fd58a7 (patch)
tree37c1004a88efcbfd17200ec4f2f389473697f681
parent2048de4f21e5db17820bf245dcdc2d779cf3a259 (diff)
downloadRWA.Support.SessionService-651d0b73df96fa467c1de207ac8055f4e0fd58a7.tar.gz
RWA.Support.SessionService-651d0b73df96fa467c1de207ac8055f4e0fd58a7.tar.bz2
RWA.Support.SessionService-651d0b73df96fa467c1de207ac8055f4e0fd58a7.zip
Fix URL duplication matching
-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 93ec919..175ae17 100755
--- a/rwa/support/sessionservice/service.py
+++ b/rwa/support/sessionservice/service.py
@@ -226,7 +226,7 @@ class RWASupportSessionService(dbus.service.Object):
try:
for uuid, host in self.settings.web_app_hosts.items():
- if host_url in host['url']:
+ if host_url == host['url']:
logging.warning("Given URL is already present!")
logging.debug('Did not add "%s" to "web_app_hosts" in user_settings', host_url)