fix resolve issue

This commit is contained in:
hoellen
2019-06-30 13:18:55 +02:00
parent baa5a8a4e0
commit 81a8acf9ec

View File

@@ -80,7 +80,7 @@ class ConfigManager(dict):
self.config = dict()
def resolve_host(self):
optional = [item for item in self.OPTIONAL_HOSTS if item in self.config]
optional = [item for item in self.OPTIONAL_HOSTS if item in self.config and self.config[item] != "none"]
for item in list(self.HOSTS) + optional:
host = 'HOST_' + item
self.config[host] = system.resolve_address(self.config[host])