mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Remove print() in detector_config.py
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
parent
bebb22dc11
commit
2460b4822a
@ -119,7 +119,6 @@ class ModelConfig(BaseModel):
|
|||||||
|
|
||||||
def compute_model_hash(self) -> None:
|
def compute_model_hash(self) -> None:
|
||||||
if not self.path or not os.path.exists(self.path):
|
if not self.path or not os.path.exists(self.path):
|
||||||
print("File does not exist or path is empty.")
|
|
||||||
self._model_hash = hashlib.md5(b"unknown").hexdigest()
|
self._model_hash = hashlib.md5(b"unknown").hexdigest()
|
||||||
else:
|
else:
|
||||||
with open(self.path, "rb") as f:
|
with open(self.path, "rb") as f:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user