From 190f473cab2ef7fad3053a4a7f54b7189c8e1e42 Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 14 Nov 2020 21:20:48 +0100 Subject: [PATCH] plugin app manager: fixed `public_url` value check --- sat/plugins/plugin_misc_app_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '