Merge pull request #21 from RickCarlino/master

Limit length of longer usernames
pull/22/head
Jake Funke 2018-11-24 20:54:18 -08:00 committed by GitHub
commit 0b2e9177dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class CursedMenu(object):
return plant_table return plant_table
def format_garden_entry(self, entry): def format_garden_entry(self, entry):
return "{:14} - {:>16} - {:>8}p - {}".format(*entry) return "{:14.14} - {:>16} - {:>8}p - {}".format(*entry)
def sort_garden_table(self, table, column, ascending): def sort_garden_table(self, table, column, ascending):
""" Sort table in place by a specified column """ """ Sort table in place by a specified column """