Removed eft cfg type ability from pyfa export choices

This commit is contained in:
HomeWorld
2011-01-16 22:13:15 +02:00
parent 0062963f42
commit ac45498472

View File

@@ -272,7 +272,7 @@ class MainFrame(wx.Frame):
dlg=wx.FileDialog(
self,
"Save Fitting As...",
wildcard = "EFT text fitting files (*.cfg)|*.cfg|EvE XML fitting files (*.xml)|*.xml",
wildcard = "EvE XML fitting files (*.xml)|*.xml",
style = wx.FD_SAVE)
if (dlg.ShowModal() == wx.ID_OK):
sFit = service.Fit.getInstance()
@@ -280,10 +280,6 @@ class MainFrame(wx.Frame):
output = ""
path = dlg.GetPath()
if (format == 0):
output = sFit.exportFit(self.getActiveFit())
if '.' not in os.path.basename(path):
path += ".cfg"
elif (format == 1):
output = sFit.exportXml(self.getActiveFit())
if '.' not in os.path.basename(path):
path += ".xml"