This commit is contained in:
2025-09-24 11:28:42 +08:00
parent ec1705769c
commit 873c89c778
9 changed files with 100 additions and 39 deletions

View File

@@ -21,7 +21,7 @@ template_service = get_template_service()
if "redownload" in sys.argv:
print("Redownloading all templates...")
try:
for template_name in template_service.templates.keys():
for template_name in template_service.get_all_templates().keys():
print(f"Redownloading template: {template_name}")
if not template_service.download_template(template_name):
print(f"Failed to download template: {template_name}")