From bbe933890fa599c3926dcd6a8a3bbc52feefd1c7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 26 Jan 2010 03:35:16 +0900 Subject: [PATCH] don't call parseTags twice --- ankiqt/ui/exporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/exporting.py b/ankiqt/ui/exporting.py index c01430a85..97d733c24 100644 --- a/ankiqt/ui/exporting.py +++ b/ankiqt/ui/exporting.py @@ -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)