root 2019-07-10 13:00:50 +00:00
commit a8f956110a
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@ from setuptools import setup
setup( setup(
name='ttbp', name='ttbp',
version='0.12.0', version='0.12.2',
description='command line social blogging tool used on tilde.town', description='command line social blogging tool used on tilde.town',
url='https://github.com/modgethanc/ttbp', url='https://github.com/modgethanc/ttbp',
author='~endorphant', author='~endorphant',

View File

@ -105,7 +105,9 @@ def menu_handler(options, prompt, pagify=10, page=0, rainbow=False, top=""):
if optCount % pagify == 0: if optCount % pagify == 0:
total = total - 1 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)) util.print_menu(options, SETTINGS.get("rainbows", False))
return util.list_select(options, prompt) return util.list_select(options, prompt)