Fix broken commit with better parameter passing; cleanup

This commit is contained in:
Martin Falatic
2013-06-15 16:29:26 -07:00
parent 3390c06b5d
commit 961fbaef69
3 changed files with 6 additions and 18 deletions

View File

@@ -491,10 +491,9 @@ class MainFrame(wx.Frame):
saveFmt = "xml"
else:
saveFmt = "txt"
print("User selected format %d \'%s\'" % (saveFmtInt, saveFmt))
filePath = saveDialog.GetPath()
self.waitDialog = animUtils.WaitDialog(self)
sCharacter.backupSkills(filePath, saveFmt, self.closeWaitDialog)
sCharacter.backupSkills(filePath, saveFmt, self.getActiveFit(), self.closeWaitDialog)
self.waitDialog.ShowModal()
saveDialog.Destroy()