in scripts/workbook_create.py [0:0]
def workbook_item_index(workbook, item_name):
for i in range(len(workbook['items'])):
if workbook['items'][i]['name'] == item_name:
if args.verbose:
print('DEBUG: Found item {0} in workbook at index {1}'.format(item_name, i))
return i
if args.verbose:
print('ERROR: I could not find item {0} in workbook'.format(item_name))
return -1