Fix fit XML export

This commit is contained in:
DarkPhoenix
2019-03-25 10:07:23 +03:00
parent be579cfaeb
commit 37ad2faa8e
4 changed files with 6 additions and 6 deletions

View File

@@ -418,7 +418,7 @@ class MainFrame(wx.Frame):
format_ = dlg.GetFilterIndex()
path = dlg.GetPath()
if format_ == 0:
output = Port.exportXml(None, fit)
output = Port.exportXml([fit], None)
if '.' not in os.path.basename(path):
path += ".xml"
else: