diff --git a/sat/plugins/plugin_misc_app_manager.py b/sat/plugins/plugin_misc_app_manager.py index 0830fb47..9b5348f1 100644 --- a/sat/plugins/plugin_misc_app_manager.py +++ b/sat/plugins/plugin_misc_app_manager.py @@ -160,7 +160,7 @@ class AppManager: ) 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 '