Fix CUSTOM_CONF_SERVER_HTTP disappearing after 60 minutes (autoconf)

This commit is contained in:
TheophileDiot 2022-09-22 16:49:40 +02:00
parent 94ce249d74
commit 803ff8cb56
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class Config(ApiCaller, ConfigCaller) :
log("CONFIG", "", "reload failed, configuration will not work as expected...")
# remove autoconf configs
if configs != None :
if configs == None :
ret = self.__remove_configs()
if not ret :
success = False