fragment is optional
This commit is contained in:
parent
1e85ffa407
commit
b820abed7f
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ def render_all(options):
|
||||||
for fragment in fragments:
|
for fragment in fragments:
|
||||||
fragment_base += 1
|
fragment_base += 1
|
||||||
fragment_id = int(fragment['name'].split(' ')[0])
|
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
|
continue
|
||||||
name = fragment['name'].replace(' ', '_')
|
name = fragment['name'].replace(' ', '_')
|
||||||
if not fragment['clips']:
|
if not fragment['clips']:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue