My bad
This commit is contained in:
@@ -38,8 +38,7 @@ class SerialReader:
|
||||
if line:
|
||||
print("Generic method")
|
||||
data = line.decode('utf-8', errors='ignore')
|
||||
formatted_data = f'{{"uid": {data}}}'
|
||||
self._notify(formatted_data)
|
||||
self._notify(data)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user