diff --git a/td.py b/td.py index 492609e2..df2ee4d1 100644 --- a/td.py +++ b/td.py @@ -41,7 +41,6 @@ def export(data): h.write(' + {}\n'.format(category).encode('utf-8')) # corrections to commodity names can change the sort order for commodity in sorted(bycategory[category], key=itemgetter('name')): - #h.write(' %-23s %7d %7d %9s%c %8s%c %s\n'.format( h.write(' {:<23} {:7d} {:7d} {:9}{:1} {:8}{:1} {}\n'.format( commodity['name'], int(commodity['sellPrice']), diff --git a/update.py b/update.py index 2ebe472d..968de1fc 100644 --- a/update.py +++ b/update.py @@ -1,5 +1,3 @@ -from builtins import map -from builtins import object import os from os.path import dirname, join import sys