# HG changeset patch # User Goffi # Date 1605385248 -3600 # Node ID bfe9ebd253a74c97b4e2ecca42b16d47765e60a2 # Parent d7cfb031e41f5707cc7f4f4796cee96a3ee86902 plugin app manager: fixed `public_url` value check diff -r d7cfb031e41f -r bfe9ebd253a7 sat/plugins/plugin_misc_app_manager.py --- a/sat/plugins/plugin_misc_app_manager.py Sat Nov 14 21:19:40 2020 +0100 +++ b/sat/plugins/plugin_misc_app_manager.py Sat Nov 14 21:20:48 2020 +0100 @@ -160,7 +160,7 @@ ) value = self.host.memory.getConfig(section, name, default) - if name == "public_url" and not value or not value.startswith('http'): + if name == "public_url" and (not value or not value.startswith('http')): if not value: log.warning(_( 'No value found for "public_url", using "https://example.org" for '