Skip to content

Commit

Permalink
about ca03afd // TODO raise or empty ??
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Sep 27, 2024
1 parent ca03afd commit 65d4a30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,8 @@ def setValue(self, value, bytes_list, dataitem, ecu_endian, test_mode=False):
except ValueError:
error = _("Value error of this stuff need a bypass gateway maybe. Value:") + " %s" % requestasbin
options.main_window.logview.append("<font color='red'>" + error + "</font>")
# this need a break maybe empty and or raise, try empty.
# raise or return ?
# raise (error)
# print (error)
return bytes_list

valueashex = hex(valueasint)[2:].replace("L", "").zfill(numreqbytes * 2).upper()
Expand Down

0 comments on commit 65d4a30

Please sign in to comment.