static analysis

This commit is contained in:
Jason Wen
2024-11-17 00:04:30 -05:00
parent 2550185feb
commit 0a9ca2b2a9
+2 -2
View File
@@ -399,8 +399,8 @@ def mads_status_changed_alert(CP: car.CarParams, CS: car.CarState, sm: messaging
final_str = (
f"{' ' * (left_padding // font_width_per_char)}{left_str} "
f"| "
f"{right_str}{' ' * (right_padding // font_width_per_char)}"
+ f"| "
+ f"{right_str}{' ' * (right_padding // font_width_per_char)}"
)
return NormalPermanentAlert(final_str, duration=1.5)