don't call parseTags twice

This commit is contained in:
Damien Elmes 2010-01-26 03:35:16 +09:00
parent b3e0b302ff
commit bbe933890f

View file

@ -61,7 +61,7 @@ class ExportDialog(QDialog):
def accept(self):
if isinstance(self.exporter, PackagedAnkiExporter):
self.parent.onShare(parseTags(unicode(self.tags.text())))
self.parent.onShare(unicode(self.tags.text()))
return QDialog.accept(self)
file = ui.utils.getSaveFile(self, _("Choose file to export to"), "export",
self.exporter.key, self.exporter.ext)