[manage.py] setupProj(): Render hidden files

This commit is contained in:
Viyurz 2024-10-01 10:49:40 +02:00
parent 6dc707bb2d
commit f13d9b5d76
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -112,7 +112,7 @@ def setupProj(project):
if project in env['certs'].keys(): if project in env['certs'].keys():
setCertPerms(project) setCertPerms(project)
for templateFile in glob(f"projects/{project}/*.mako"): for templateFile in glob(f"projects/{project}/*.mako", include_hidden=True):
renderFile(templateFile) renderFile(templateFile)
setOwner(re.sub('\\.mako$', '.rendered', templateFile), env['host_uid'], getUid(project)) setOwner(re.sub('\\.mako$', '.rendered', templateFile), env['host_uid'], getUid(project))