Merge pull request #83 from 1nsp1r3rnzt/master

fixed grammar mistake in duplicate
This commit is contained in:
Alex Yatskov 2018-06-20 16:43:14 -07:00 committed by GitHub
commit f1a27b47cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,7 +424,7 @@ class AnkiConnect:
if duplicateOrEmpty == 1: if duplicateOrEmpty == 1:
raise Exception('cannot create note because it is empty') raise Exception('cannot create note because it is empty')
elif duplicateOrEmpty == 2: 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: elif duplicateOrEmpty == False:
return ankiNote return ankiNote
else: else: