Skip to content

Commit 0048415

Browse files
author
root
committed
Remove early return in Detect() so that images can be deleted.
1 parent 78fd86a commit 0048415

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlapi.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ def post(self):
137137
}
138138
detections.append(obj)
139139

140-
return detections
141140
if args['delete']:
142141
os.remove(fi)
143142
return detections

0 commit comments

Comments
 (0)