From 3754e8543d9c60981e117da856794b2917f11105 Mon Sep 17 00:00:00 2001 From: jcc6611 Date: Sat, 8 Feb 2020 17:19:01 -0500 Subject: [PATCH] Fixed bug with printing when there are no entries --- src/utils/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/module.py b/src/utils/module.py index 29cce2d..111f003 100644 --- a/src/utils/module.py +++ b/src/utils/module.py @@ -113,8 +113,8 @@ def print_menu(name, lines): """ padding_star = "*" * 5 - temp = 0 - max_len = 0 + temp = 31 + max_len = 31 for s in lines: temp = len(s) if max_len < temp: