Better strategy for truncating long usernames.
parent
056df53b47
commit
7fcfedade0
|
@ -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 """
|
||||||
|
|
Loading…
Reference in New Issue