diff --git a/frigate/edgetpu.py b/frigate/edgetpu.py index 563ec479f..03593fa0f 100644 --- a/frigate/edgetpu.py +++ b/frigate/edgetpu.py @@ -71,10 +71,10 @@ class LocalObjectDetector(ObjectDetector): logger.info("No EdgeTPU detected.") raise else: - self.logger.error("****************************************************") - self.logger.error(f"** CPU detectors are not recommended and should") - self.logger.error(f"** only be used for testing or for trial purposes.") - self.logger.error(("****************************************************")) + logger.error("****************************************************") + logger.error(f"** CPU detectors are not recommended and should") + logger.error(f"** only be used for testing or for trial purposes.") + logger.error(("****************************************************")) self.interpreter = tflite.Interpreter( model_path="/cpu_model.tflite", num_threads=num_threads )