Add fallback file

This commit is contained in:
Matthias
2021-01-16 10:27:15 +01:00
parent f05f2c45e8
commit e928d2991d
3 changed files with 36 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ def clean_ui_subdir(directory: Path):
logger.info("Removing UI directory content.")
for p in reversed(list(directory.glob('**/*'))): # iterate contents from leaves to root
if p.name == '.gitkeep':
if p.name in ('.gitkeep', 'fallback_file.html'):
continue
if p.is_file():
p.unlink()