Some tweaks and + in import dlg

This commit is contained in:
HomeWorld
2010-10-13 17:11:03 +03:00
parent 8f3f762823
commit a79416c435
2 changed files with 50 additions and 12 deletions

View File

@@ -269,8 +269,9 @@ class Fit(object):
f = file(path)
type, fits = eos.types.Fit.importAuto(f.read())
output = ""
for fit in fits:
eos.db.save(fit)
output += "Importing %s (%s)" % (fit.name, fit.ship.item.name)
output += "Importing %s (%s)\n" % (fit.name, fit.ship.item.name)
return output
return len(fits)