Skip to content

Commit

Permalink
address a codefactor multiple spaces before operator issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pipiche38 committed Oct 25, 2023
1 parent d6f9f86 commit 35e1c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zigbee/encoder_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def decode_endian_data(data, datatype, len_stream=None):
# we expect 7 bytes lenght
data = data[2:16]
# 7 bytes - 56b
return ("%016x" % struct.unpack(">Q", struct.pack("Q", int("00" + data[:14], 16)))[0])[:14]
return ("%016x" % struct.unpack(">Q", struct.pack("Q", int("00" + data[:14], 16)))[0])[:14]

if data_type_id in {0x0F, 0x1F, 0x27, 0x2F, 0x3A, 0xF0}:
# 8 bytes - 64b
Expand Down

0 comments on commit 35e1c96

Please sign in to comment.