replace list literals with tuples

Tuples ensure that this isnt changed at runtime
This commit is contained in:
A_D authored and Athanasius committed 2020-07-24 13:45:17 +01:00
1 parent 6b73161cae
commit 5583486589
1 file changed
+2 -2
+2 -2
View File
@@ -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):