Merge pull request #83 from 1nsp1r3rnzt/master
fixed grammar mistake in duplicate
This commit is contained in:
commit
f1a27b47cd
@ -424,7 +424,7 @@ class AnkiConnect:
|
||||
if duplicateOrEmpty == 1:
|
||||
raise Exception('cannot create note because it is empty')
|
||||
elif duplicateOrEmpty == 2:
|
||||
raise Exception('cannot create note because it is a duplicte')
|
||||
raise Exception('cannot create note because it is a duplicate')
|
||||
elif duplicateOrEmpty == False:
|
||||
return ankiNote
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user