enable scheduling-inclusive exports from 2.1

This commit is contained in:
Damien Elmes 2019-12-06 18:51:42 +10:00
parent 3b5f8fec4c
commit 15a9a6005e

View file

@ -297,9 +297,6 @@ class AnkiPackageExporter(AnkiExporter):
if not self._v2sched:
z.write(colfile, "collection.anki2")
else:
# fixme: remove in the future
raise Exception("Please switch to the normal scheduler before exporting a single deck with scheduling information.")
# prevent older clients from accessing
# pylint: disable=unreachable
self._addDummyCollection(z)