Add string encoding during bytes conversion.

This commit is contained in:
Kyle Isom 2022-02-26 19:21:23 -08:00
parent fec91e2d82
commit 0a34a8c89e
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Reading:
'temperature': self.temp,
'pressure': self.press,
'relative_humidity': self.hum,
}))
}).encode('utf-8'))
class SensorError(Exception):