item sorting

This commit is contained in:
q
2016-07-05 13:45:44 +03:00
parent 03139a87b6
commit 9ac90f401b
4 changed files with 20 additions and 3 deletions

View File

@@ -128,6 +128,7 @@ def show_shop(shopid):
content=open(data_file, 'rt').read().decode('utf-8')
for i,row in enumerate(open( data_file, 'rt').read().decode('utf-8').split("\n")):
# any parsing magick would be here
row=row.rstrip()
if row=="":
continue
icon=" "