Mercurial > libervia-backend
diff sat/plugins/plugin_misc_app_manager.py @ 3417:bfe9ebd253a7
plugin app manager: fixed `public_url` value check
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 Nov 2020 21:20:48 +0100 |
parents | 5d926c7b0d99 |
children | be6d91572633 |
line wrap: on
line diff
--- 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 '