1
0
mirror of https://github.com/no2chem/wideq.git synced 2025-05-16 23:30:10 -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']: for item in self.data['Monitoring']['protocol']:
key = item['value'] key = item['value']
value = 0 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 value = (value << 8) + v
decoded[key] = str(value) decoded[key] = str(value)
return decoded return decoded