temporarily disable importing multiple files

Will follow up on this on https://github.com/ankitects/anki/pull/1562
This commit is contained in:
Damien Elmes 2022-01-02 09:49:51 +10:00
parent 008c62a844
commit e49496abae

View file

@ -116,6 +116,9 @@ class MainWebView(AnkiWebView):
deck_paths = filter(lambda p: not p.endswith(".colpkg"), paths)
for path in deck_paths:
aqt.importing.importFile(self.mw, path)
# importing continues after the above call returns, so it is not
# currently safe for us to import more than one file at once
return
class AnkiQt(QMainWindow):