Skip to content

Commit

Permalink
code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
ikaratass committed Jun 17, 2024
1 parent a682e82 commit f48e9c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions iso15118/secc/controller/evse_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def update_ac_charge_parameters_v2(
try:
if not session_value or (session_value > rated_value):
setattr(session_limits, value, rated_value)
except:
except TypeError:
pass

def update_dc_charge_parameters(
Expand Down Expand Up @@ -280,8 +280,7 @@ def update_dc_charge_parameters(
)
if dc_charge_parameter.evse_current_regulation_tolerance:
self.current_regulation_tolerance = (
dc_charge_parameter.evse_current_regulation_tolerance.get_decimal_value()
# noqa: E501
dc_charge_parameter.evse_current_regulation_tolerance.get_decimal_value() # noqa: E501
)
if dc_charge_parameter.evse_energy_to_be_delivered:
self.energy_to_be_delivered = (
Expand All @@ -296,7 +295,7 @@ def update_dc_charge_parameters(
try:
if not session_value or (session_value > rated_value):
setattr(self.session_limits.dc_limits, value, rated_value)
except:
except TypeError:
pass

def update_ac_charge_parameters_v20(
Expand Down

0 comments on commit f48e9c0

Please sign in to comment.