Export is now working. Import in progress.

Partial commits are good? Easy to revert, yes? I hope? :(
This commit is contained in:
Corollax
2010-11-20 05:11:27 -06:00
parent bba6155cc3
commit 0b191623ad
2 changed files with 18 additions and 10 deletions

View File

@@ -66,10 +66,9 @@ class DamagePattern():
def saveChanges(self, p):
eos.db.save(p)
def importPatterns(self):
print "Import In Service"
eos.importPatterns()
def importPatterns(self, text):
eos.types.DamagePattern.importPatterns(text)
def exportPatterns(self):
print "Export In Service"
eos.exportPatterns()
patterns = self.getDamagePatternList()
return eos.types.DamagePattern.exportPatterns(*patterns)