diff --git a/plugin/__init__.py b/plugin/__init__.py index 7fc723e..6b50f4d 100644 --- a/plugin/__init__.py +++ b/plugin/__init__.py @@ -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']: