Browse Source

Fixed bug with printing when there are no entries

pull/39/head
jcc6611 4 years ago
parent
commit
3754e8543d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/utils/module.py

+ 2
- 2
src/utils/module.py View File

@ -113,8 +113,8 @@ def print_menu(name, lines):
""" """
padding_star = "*" * 5 padding_star = "*" * 5
temp = 0
max_len = 0
temp = 31
max_len = 31
for s in lines: for s in lines:
temp = len(s) temp = len(s)
if max_len < temp: if max_len < temp:

Loading…
Cancel
Save