mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
when schema differs, make sure we don't import cards
_ignoredGuids should have been added to but wasn't
This commit is contained in:
parent
9f4fd8a9b6
commit
9b2a19ee85
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ class Anki2Importer(Importer):
|
||||||
# as the schemas differ and we already have a note with a different
|
# as the schemas differ and we already have a note with a different
|
||||||
# note type, this note needs a new guid
|
# note type, this note needs a new guid
|
||||||
if not self.dupeOnSchemaChange:
|
if not self.dupeOnSchemaChange:
|
||||||
|
self._ignoredGuids[origGuid] = True
|
||||||
return False
|
return False
|
||||||
while True:
|
while True:
|
||||||
note[GUID] = incGuid(note[GUID])
|
note[GUID] = incGuid(note[GUID])
|
||||||
|
|
Loading…
Reference in a new issue