Minor cleanup.

This commit is contained in:
Athanasius committed 2019-09-26 11:40:42 +01:00
1 parent acc78d2657
commit 5c59f32d15
2 files changed
-3

No files matched your search

-1
View File
@@ -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']),
-2
View File
@@ -1,5 +1,3 @@
from builtins import map
from builtins import object
import os
from os.path import dirname, join
import sys