|
@@ -65,9 +65,9 @@ def option_picker(question, options, objects=None, selected=None, quit=False, ta
|
|
|
|
|
|
|
|
if objects is not None and table is not None and len(objects) == len(table):
|
|
if objects is not None and table is not None and len(objects) == len(table):
|
|
|
for j in range(0, len(objects)):
|
|
for j in range(0, len(objects)):
|
|
|
- _row += '[{' + str(objects[j]) + ':' + str(table[j][1]) + '}] '
|
|
|
|
|
|
|
+ _row += '[{' + str(objects[j]) + ':' + str(table[j][1]) + '.' + str(table[j][1]) + '}] '
|
|
|
|
|
|
|
|
- output(_row.format(__id__=i, x=option).strip())
|
|
|
|
|
|
|
+ output(_row.format(__id__=str(i), x=option).strip())
|
|
|
|
|
|
|
|
else:
|
|
else:
|
|
|
if i == selected:
|
|
if i == selected:
|