Skip to content

Commit

Permalink
leave for test .
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Sep 27, 2024
1 parent 0d9088c commit 0ff90a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,9 @@ def setValue(self, value, bytes_list, dataitem, ecu_endian, test_mode=False):
try:
valueasint = int("0b" + requestasbin, 2)
except ValueError:
# this need a break maybe empty and or raise, try empty.
# raise (_("Value of this stuff need a bypass gateway maybe. Value:") + " %s" % requestasbin)
print (_("Value error of this stuff need a bypass gateway maybe. Value:") + " %s" % requestasbin)
# this need a break maybe empty and or raise, try empty..
return {}

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

0 comments on commit 0ff90a7

Please sign in to comment.