Allow passing deleteExisting in addNote (#309)
This commit is contained in:
parent
54a7105bf9
commit
0e467372eb
@ -709,7 +709,8 @@ class AnkiConnect:
|
||||
data=media.get('data'),
|
||||
path=media.get('path'),
|
||||
url=media.get('url'),
|
||||
skipHash=media.get('skipHash'))
|
||||
skipHash=media.get('skipHash'),
|
||||
deleteExisting=media.get('deleteExisting'))
|
||||
|
||||
if mediaFilename is not None:
|
||||
for field in media['fields']:
|
||||
|
Loading…
Reference in New Issue
Block a user