mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
autoconf - fix changes check bug with same variable name
This commit is contained in:
parent
47bf7299a1
commit
6a995723c0
1 changed files with 4 additions and 4 deletions
|
|
@ -114,12 +114,12 @@ class Config(ConfigCaller):
|
|||
|
||||
# wait until changes are applied
|
||||
while True:
|
||||
changes = self._db.check_changes()
|
||||
if isinstance(changes, str):
|
||||
curr_changes = self._db.check_changes()
|
||||
if isinstance(curr_changes, str):
|
||||
self.__logger.error(
|
||||
f"An error occurred when checking for changes in the database : {changes}"
|
||||
f"An error occurred when checking for changes in the database : {curr_changes}"
|
||||
)
|
||||
elif not any(changes.values()):
|
||||
elif not any(curr_changes.values()):
|
||||
break
|
||||
else:
|
||||
self.__logger.warning(
|
||||
|
|
|
|||
Loading…
Reference in a new issue