mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
[#643] Fix UI clearing configs folder at startup
This commit is contained in:
parent
ad65e01a87
commit
7c5177bf43
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class ConfigFiles:
|
|||
if custom_configs:
|
||||
self.__logger.info("Refreshing custom configs ...")
|
||||
# Remove old custom configs files
|
||||
for file in glob(join(sep, "etc", "bunkerweb", "configs", "*")):
|
||||
for file in glob(join(sep, "etc", "bunkerweb", "configs", "*", "*")):
|
||||
file = Path(file)
|
||||
if file.is_symlink() or file.is_file():
|
||||
file.unlink()
|
||||
|
|
|
|||
Loading…
Reference in a new issue