Fix webui option (#1519)

This commit is contained in:
Pascal Vizeli 2020-02-20 09:17:53 +01:00 committed by GitHub
parent 8dbfea75b1
commit 1fbb6d46ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ class Addon(AddonModel):
# lookup the correct protocol from config
if t_proto:
proto = "https" if self.options[t_proto] else "http"
proto = "https" if self.options.get(t_proto) else "http"
else:
proto = s_prefix