This commit is contained in:
2024-12-09 09:25:58 +08:00
parent 8d6159d302
commit 515bf156ab
6 changed files with 69 additions and 7 deletions

View File

@ -70,6 +70,8 @@ def load_local_template():
def get_template_def(template_id):
if template_id not in TEMPLATES:
download_template(template_id)
return TEMPLATES.get(template_id)
def download_template(template_id):