Properly call super() in subclasses (#14124)

This commit is contained in:
gtsiam
2024-10-03 04:35:46 +03:00
committed by GitHub
parent 3c015bf822
commit 54900ae318
18 changed files with 19 additions and 38 deletions

View File

@@ -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)