hevc+重下模板

This commit is contained in:
2025-08-05 12:22:47 +08:00
parent bf912037d1
commit 2f694da5fd
7 changed files with 36 additions and 8 deletions

View File

@@ -79,6 +79,8 @@ def download_template(template_id):
tracer = get_tracer(__name__)
with tracer.start_as_current_span("download_template"):
template_info = api.get_template_info(template_id)
if template_info is None:
return
if not os.path.isdir(template_info['local_path']):
os.makedirs(template_info['local_path'])
# download template assets