mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix old_domains not assigned
This commit is contained in:
parent
fa5b3198cc
commit
f295dffd00
1 changed files with 1 additions and 0 deletions
|
@ -686,6 +686,7 @@ def _load_domain_settings():
|
|||
And fill the holes if any
|
||||
"""
|
||||
# Retrieve entries in the YAML
|
||||
old_domains = None
|
||||
if os.path.exists(DOMAIN_SETTINGS_PATH) and os.path.isfile(DOMAIN_SETTINGS_PATH):
|
||||
old_domains = yaml.load(open(DOMAIN_SETTINGS_PATH, "r+"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue