From 651d0b73df96fa467c1de207ac8055f4e0fd58a7 Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Fri, 2 Jul 2021 20:42:42 +0200 Subject: Fix URL duplication matching --- 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 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) -- cgit v1.2.3