Fix issue with EFT .cfg importing

(cherry picked from commit d05b78a451)
This commit is contained in:
blitzmann
2014-05-04 19:16:00 -04:00
parent 2651a04880
commit 5395c04b18

View File

@@ -329,6 +329,8 @@ class Fit(object):
f.ship = Ship(db.getItem(shipname))
for i in range(1, len(fitLines)):
line = fitLines[i]
if not line:
continue
# Parse line into some data we will need
misc = re.match("(Drones|Implant|Booster)_(Active|Inactive)=(.+)",line)
if misc: