Allow passing deleteExisting in addNote (#309)
This commit is contained in:
parent
81fccbfac6
commit
a433f600a4
@ -728,7 +728,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