fragment is optional

This commit is contained in:
j 2026-01-24 20:21:31 +01:00
commit b820abed7f

View file

@ -444,7 +444,7 @@ def render_all(options):
for fragment in fragments:
fragment_base += 1
fragment_id = int(fragment['name'].split(' ')[0])
if options["fragment"] and int(options["fragment"]) != fragment_id:
if options.get("fragment") and int(options["fragment"]) != fragment_id:
continue
name = fragment['name'].replace(' ', '_')
if not fragment['clips']: