ZoneMinder / mlapi

An easy to use/extend object recognition API you can locally install. Python+Flask. Also works with ZMES!
Other
58 stars 35 forks source link

Early return in Detect() prevents image deletion #16

Closed neillbell closed 4 years ago

neillbell commented 4 years ago

In the Detect() function in mlapi.py, there is a return before the code that deletes the image file. This means that images will not be deleted even if the delete argument is specified in the URL.