백오피스 추가 및 이미지태그 예외처리

This commit is contained in:
skkim committed 2026-05-04 13:32:09 +09:00
1 parent 1e3da98c6a
commit 37bf9f54ee
34 files changed
+1530 -73

No files matched your search

+4 -1
View File
@@ -463,6 +463,7 @@ class CreatomateService:
source_elements = template["source"]["elements"]
template_component_data = self.parse_template_component_name(source_elements)
taged_image_list = [img for img in taged_image_list if img.get("image_tag") is not None]
modifications = {}
for slot_idx, (template_component_name, template_type) in enumerate(template_component_data.items()):
@@ -772,7 +773,9 @@ class CreatomateService:
if "animations" not in elem:
continue
for animation in elem["animations"]:
assert animation["time"] == 0 # 0이 아닌 경우 확인 필요
if "reversed" in animation:
continue
assert animation.get("time",0) == 0 # 0이 아닌 경우 확인 필요
if "transition" in animation and animation["transition"]:
track_maximum_duration[elem["track"]] -= animation["duration"]
else: