From 1f67eeea895a5bdebabaea608c55d0189f5e2415 Mon Sep 17 00:00:00 2001 From: endorphant Date: Wed, 10 Jul 2019 00:36:35 -0400 Subject: [PATCH] quick patch to fix #40 --- ttbp/ttbp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ttbp/ttbp.py b/ttbp/ttbp.py index 8a5c35e..7df3f6e 100644 --- a/ttbp/ttbp.py +++ b/ttbp/ttbp.py @@ -105,7 +105,9 @@ def menu_handler(options, prompt, pagify=10, page=0, rainbow=False, top=""): if optCount % pagify == 0: total = total - 1 - if total < 1: + if 0: + # temporary fix for menu bug when fewer than 10 entries + #if total < 1: util.print_menu(options, SETTINGS.get("rainbows", False)) return util.list_select(options, prompt)