From 1f67eeea895a5bdebabaea608c55d0189f5e2415 Mon Sep 17 00:00:00 2001 From: endorphant Date: Wed, 10 Jul 2019 00:36:35 -0400 Subject: [PATCH 1/2] 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) From 0aaedaff5a2738c11cfdaa29329533b9f4efaf28 Mon Sep 17 00:00:00 2001 From: endorphant Date: Wed, 10 Jul 2019 00:37:26 -0400 Subject: [PATCH 2/2] updating setup version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3e34cc5..5fb662a 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='ttbp', - version='0.12.0', + version='0.12.2', description='command line social blogging tool used on tilde.town', url='https://github.com/modgethanc/ttbp', author='~endorphant',