mirror of
https://github.com/MarcA711/frigate-rockchip.git
synced 2025-10-28 02:52:57 +08:00
Properly call super() in subclasses (#14124)
This commit is contained in:
@@ -26,9 +26,6 @@ DETECTOR_KEY = "tensorrt"
|
||||
if TRT_SUPPORT:
|
||||
|
||||
class TrtLogger(trt.ILogger):
|
||||
def __init__(self):
|
||||
trt.ILogger.__init__(self)
|
||||
|
||||
def log(self, severity, msg):
|
||||
logger.log(self.getSeverity(severity), msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user