mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
Don't delete train tab
This commit is contained in:
parent
d3821fc706
commit
6849ee06f5
@ -235,7 +235,7 @@ class EmbeddingsContext:
|
|||||||
if os.path.isfile(file_path):
|
if os.path.isfile(file_path):
|
||||||
os.unlink(file_path)
|
os.unlink(file_path)
|
||||||
|
|
||||||
if len(os.listdir(folder)) == 0:
|
if face != "train" and len(os.listdir(folder)) == 0:
|
||||||
os.rmdir(folder)
|
os.rmdir(folder)
|
||||||
|
|
||||||
self.requestor.send_data(
|
self.requestor.send_data(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user