fixed grammar mistake in duplicate

This commit is contained in:
Ranjit Singh 2018-06-20 12:52:46 -04:00
parent 795709b9ac
commit 2808fac33f

View File

@ -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: