mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
fix duplicate/empty check
This commit is contained in:
parent
cb7d78dde5
commit
0334ce075c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue