mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-13 07:47:14 +03:00
replace list literals with tuples
Tuples ensure that this isnt changed at runtime
This commit is contained in:
parent
ed9c1c6774
commit
fe3a6c11f4
@ -73,7 +73,7 @@ def addmodules(data):
|
||||
|
||||
outfile = 'outfitting.csv'
|
||||
modules = {}
|
||||
fields = ['id', 'symbol', 'category', 'name', 'mount', 'guidance', 'ship', 'class', 'rating', 'entitlement']
|
||||
fields = ('id', 'symbol', 'category', 'name', 'mount', 'guidance', 'ship', 'class', 'rating', 'entitlement')
|
||||
|
||||
# slurp existing
|
||||
if isfile(outfile):
|
||||
@ -134,7 +134,7 @@ def addships(data):
|
||||
|
||||
shipfile = 'shipyard.csv'
|
||||
ships = {}
|
||||
fields = ['id', 'symbol', 'name']
|
||||
fields = ('id', 'symbol', 'name')
|
||||
|
||||
# slurp existing
|
||||
if isfile(shipfile):
|
||||
|
Loading…
x
Reference in New Issue
Block a user