plugin app manager: fixed public_url value check
This commit is contained in:
parent
6f07157904
commit
190f473cab
1 changed files with 1 additions and 1 deletions
|
|
@ -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 '
|
||||
|
|
|
|||
Loading…
Reference in a new issue