summaryrefslogtreecommitdiff
path: root/decoders/mlx90614/mlx90614.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/mlx90614/mlx90614.py')
-rw-r--r--decoders/mlx90614/mlx90614.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/mlx90614/mlx90614.py b/decoders/mlx90614/mlx90614.py
index f50e568..4fa8a0d 100644
--- a/decoders/mlx90614/mlx90614.py
+++ b/decoders/mlx90614/mlx90614.py
@@ -69,10 +69,10 @@ class Decoder(srd.Decoder):
self.state = 'GET TEMPERATURE'
elif self.state == 'GET TEMPERATURE':
if len(self.data) == 0:
- self.data += [databyte]
+ self.data.append(databyte)
self.ss = ss
elif len(self.data) == 1:
- self.data += [databyte]
+ self.data.append(databyte)
self.es = es
else:
kelvin = (self.data[0] | (self.data[1] << 8)) * 0.02