Skip to content

Commit

Permalink
refactor(autowre_accel_brake_map_calibrator): fix for flake-ros v0.9.0 (
Browse files Browse the repository at this point in the history
#8529)

Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 authored Aug 19, 2024
1 parent 7424c48 commit 56ba7f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_map_list(y_num, x_num):
class CalcUtils:
@staticmethod
def average_filter(data, average_num):
if type(average_num) != int:
if not isinstance(average_num, int):
print(
"Error in average_filter(data, average_num):\
Type of average_num must be int"
Expand Down

0 comments on commit 56ba7f9

Please sign in to comment.