Added support for backing up fittings.

This uses the standard EvE XML fitting format.
This commit is contained in:
Lucas Thode
2010-10-26 08:47:12 -05:00
parent 6404d3252b
commit 10f779fa96
4 changed files with 28 additions and 1 deletions

View File

@@ -31,6 +31,14 @@ class Fit(object):
cls.instance = Fit()
return cls.instance
def getAllFits(self):
fits = eos.db.getFitList()
names = []
for fit in fits:
names.append((fit.ID, fit.name))
return names
def getFitsWithShip(self, id):