mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-28 14:49:01 +03:00
Miscellaneous Fixes (#21193)
* Fix saving zone friendly name when it wasn't set * Fix UTF-8 handling for Onvif * Don't remove none directory for classes * Lookup all event IDs for review item immediately * Cleanup typing * Only fetch events when review group is open * Cleanup * disable debug paths switch for autotracking cameras * fix clickable birdseye --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
dfd837cfb0
commit
4cf4520ea7
@@ -710,7 +710,7 @@ def delete_classification_dataset_images(
|
||||
if os.path.isfile(file_path):
|
||||
os.unlink(file_path)
|
||||
|
||||
if os.path.exists(folder) and not os.listdir(folder):
|
||||
if os.path.exists(folder) and not os.listdir(folder) and category.lower() != "none":
|
||||
os.rmdir(folder)
|
||||
|
||||
return JSONResponse(
|
||||
|
||||
Reference in New Issue
Block a user