mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2026-11-28 03:32:23 +03:00
replace list literals with tuples
Tuples ensure that this isnt changed at runtime
This commit is contained in:
1 parent
6b73161cae
commit
5583486589
1 file changed
+2
-2
+2
-2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user