Closed garrettpall closed 2 months ago
Can you change this so there is a single if statement at the top of the method, like this?
if self.CP.carFingerprint in SDGM_CAR: cp = cam_cp else: cp = pt_cp
And then clean up all of the other if statements.
Can you change this so there is a single if statement at the top of the method, like this?
And then clean up all of the other if statements.