Skip to content

Commit 24168af

Browse files
committed
IMPROVEMENT: pylint else fix
1 parent afbe508 commit 24168af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

MethodicConfigurator/backend_filesystem_vehicle_components.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,5 @@ def get_fc_fw_version_from_vehicle_components_json(self) -> str:
6565
version_str = version_str.lstrip().split(' ')[0] if version_str else ''
6666
if re_match(r'^\d+\.\d+\.\d+$', version_str):
6767
return version_str
68-
else:
69-
logging_error(f"FW version string {version_str} on {self.vehicle_components_json_filename} is invalid")
68+
logging_error(f"FW version string {version_str} on {self.vehicle_components_json_filename} is invalid")
7069
return None

0 commit comments

Comments
 (0)