plugin app manager: fixed public_url value check

This commit is contained in:
Goffi 2020-11-14 21:20:48 +01:00
commit 190f473cab

View file

@ -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 '