1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-16 15:20:09 -07:00

Wrap a long line

This commit is contained in:
Adrian Sampson 2018-10-08 12:45:40 -04:00
parent 49350f6fd2
commit caeb63d598

View File

@ -700,7 +700,8 @@ class ModelInfo(object):
for item in self.data['Monitoring']['protocol']:
key = item['value']
value = 0
for v in data[item['startByte']:item['startByte'] + item['length']]:
for v in data[item['startByte']:item['startByte'] +
item['length']]:
value = (value << 8) + v
decoded[key] = str(value)
return decoded