diff --git a/pylib/anki/notes.py b/pylib/anki/notes.py index 3a4088f8d..58d6fca44 100644 --- a/pylib/anki/notes.py +++ b/pylib/anki/notes.py @@ -147,4 +147,4 @@ class Note: def dupeOrEmpty(self) -> int: "1 if first is empty; 2 if first is a duplicate, 0 otherwise." - return self.col.backend.note_is_duplicate_or_empty(self.to_backend_note()) + return self.col.backend.note_is_duplicate_or_empty(self.to_backend_note()).state