Do not require using `priority_multiplier` key
This commit is contained in:
parent
667cd4bce5
commit
b7504c7178
|
@ -114,7 +114,7 @@ def process_segment_lister(pl, segment_info, parsed_segments, side, mode, colors
|
|||
if subsegment_update:
|
||||
subsegment = subsegment.copy()
|
||||
subsegment.update(subsegment_update)
|
||||
if subsegment_update['priority_multiplier'] and subsegment['priority']:
|
||||
if 'priority_multiplier' in subsegment_update and subsegment['priority']:
|
||||
subsegment['priority'] *= subsegment_update['priority_multiplier']
|
||||
|
||||
process_segment(
|
||||
|
|
Loading…
Reference in New Issue