| summaryrefslogtreecommitdiff |
path: root/tonkadur_ui.py
diff options
Diffstat (limited to 'tonkadur_ui.py')
| -rw-r--r-- | tonkadur_ui.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tonkadur_ui.py b/tonkadur_ui.py index b4b7efc..c3751dd 100644 --- a/tonkadur_ui.py +++ b/tonkadur_ui.py @@ -94,7 +94,12 @@ try: current_choice = 0; for choice in result['choices']: - print(str(current_choice) + ". " + display_rich_text(choice)) + if (choice["category"] == "option"): + print( + str(current_choice) + + ". " + + display_rich_text(choice["label"]) + ) current_choice += 1 user_choice = input("Your choice? ") |


