22a58bb707
In reference to issue #146 Also added the `deleteMediaFile` when dealing with urls. The new functionality of `writeData` means that is there is a name conflict it will rename the file. This way the behavior of your api does not change. Only potential issues I see with this is that the file is `trashed` but not deleted. So is only cleared up on the usual clear up. Test locally using my own Anki install at `2.1.22` and POST man to create new media |
||
---|---|---|
.. | ||
__init__.py | ||
config.json | ||
config.md | ||
util.py | ||
web.py |