make sure we use correct extension when exporting
This commit is contained in:
parent
46fea20985
commit
7787427a50
@ -72,7 +72,7 @@ class ExportDialog(QDialog):
|
||||
deck_name = self.decks[self.frm.deck.currentIndex()]
|
||||
deck_name = re.sub('[\\\\/?<>:*|"^]', '_', deck_name)
|
||||
filename = os.path.join(aqt.mw.pm.base,
|
||||
'{}.apkg'.format(deck_name))
|
||||
'{0}{1}'.format(deck_name, self.exporter.ext))
|
||||
while 1:
|
||||
file = getSaveFile(self, _("Export"), "export",
|
||||
self.exporter.key, self.exporter.ext,
|
||||
|
Loading…
Reference in New Issue
Block a user