what-
This commit is contained in:
@@ -22,6 +22,6 @@ class LoraLightSensorReader(SerialReader):
|
||||
if match:
|
||||
try:
|
||||
data = json.loads(match.group())
|
||||
print("Received JSON:", data)
|
||||
self.__notify(str(data))
|
||||
except json.JSONDecodeError:
|
||||
print("Received invalid JSON:", match.group())
|
||||
Reference in New Issue
Block a user