From 2fec9248f82ffc02d5ad7eac1da607c25be889a0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 7 Aug 2018 14:27:48 +1000 Subject: [PATCH] fix exporting not working with regular scheduler --- aqt/exporting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/exporting.py b/aqt/exporting.py index 50d529a8d..b4ce7b0fe 100644 --- a/aqt/exporting.py +++ b/aqt/exporting.py @@ -85,7 +85,7 @@ class ExportDialog(QDialog): deck_name = self.decks[self.frm.deck.currentIndex()] deck_name = re.sub('[\\\\/?<>:*|"^]', '_', deck_name) - if not self.isVerbatim and self.isApkg and self.exporter.includeSched: + if not self.isVerbatim and self.isApkg and self.exporter.includeSched and self.col.schedVer() == 2: showInfo("Please switch to the regular scheduler before exporting a single deck .apkg with scheduling.") return