mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-10-21 02:07:06 +02:00
Tanks sorted by tank_id
This commit is contained in:
1 parent
43842dc140
commit
57cbc5b233
1 file changed
+2
-2
@@ -79,8 +79,8 @@ async def main(argv):
|
||||
tankopedia = collections.OrderedDict()
|
||||
tankopedia['status'] = 'ok'
|
||||
tankopedia['meta'] = { "count": len(tanks) }
|
||||
tankopedia['data'] = tanks
|
||||
tankopedia['userStr'] = userStrs
|
||||
tankopedia['data'] = bu.sort_dict(tanks, number=True)
|
||||
tankopedia['userStr'] = bu.sort_dict(userStrs)
|
||||
bu.verbose_std('New tankopedia \'' + args.tanks + '\' contains ' + str(len(tanks)) + ' tanks')
|
||||
bu.verbose_std('New tankopedia \'' + args.tanks + '\' contains ' + str(len(userStrs)) + ' tank strings')
|
||||
await outfile.write(json.dumps(tankopedia, ensure_ascii=False, indent=4, sort_keys=False))
|
||||
|
||||
Reference in new issue
Block a user