output_functions.yaml: allow single-instance entry with 'start' but no 'count'

for other additional data
This commit is contained in:
Beat Küng
2021-11-23 12:40:22 -05:00
committed by Daniel Agar
parent 5d6e785a4b
commit 36d9635518
2 changed files with 4 additions and 0 deletions
@@ -51,6 +51,8 @@ for group_key in functions:
for function_name in group:
if isinstance(group[function_name], int):
add_function(group[function_name], function_name)
elif not 'count' in group[function_name]:
add_function(group[function_name]['start'], function_name)
else:
start = group[function_name]['start']
count = group[function_name]['count']