diff --git a/.pylintrc b/.pylintrc index 09ffcd4..9a44b82 100644 --- a/.pylintrc +++ b/.pylintrc @@ -2,7 +2,7 @@ max-line-length=127 [MESSAGES CONTROL] -disable=C0116,E0401 +disable=missing-function-docstring,import-error enable=useless-suppression -fail-on=useless-suppression +#fail-on=useless-suppression diff --git a/MethodicConfigurator/ardupilot_methodic_configurator.py b/MethodicConfigurator/ardupilot_methodic_configurator.py index b15af10..a90c6e2 100755 --- a/MethodicConfigurator/ardupilot_methodic_configurator.py +++ b/MethodicConfigurator/ardupilot_methodic_configurator.py @@ -136,7 +136,8 @@ def main(): component_editor(args, flight_controller, local_filesystem.vehicle_type, local_filesystem, vehicle_dir_window) - start_file = local_filesystem.get_start_file(args.n, 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters) + imu_tcal_available = 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters + start_file = local_filesystem.get_start_file(args.n, imu_tcal_available) # Call the GUI function with the starting intermediate parameter file ParameterEditorWindow(start_file, flight_controller, local_filesystem, VERSION)