Better compat with old versions of Anki
This commit is contained in:
parent
27a8678f88
commit
9a18ae0b11
@ -37,9 +37,13 @@ from anki.cards import Card
|
||||
from anki.exporting import AnkiPackageExporter
|
||||
from anki.importing import AnkiPackageImporter
|
||||
from anki.notes import Note
|
||||
from anki.rsbackend import NotFoundError
|
||||
from anki.utils import joinFields, intTime, guid64, fieldChecksum
|
||||
|
||||
try:
|
||||
from anki.rsbackend import NotFoundError
|
||||
except:
|
||||
NotFoundError = Exception
|
||||
|
||||
from . import web, util
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user