Deleted one baaaad little space
This commit is contained in:
parent
273be7d4b4
commit
69ab6d4c2c
@ -76,7 +76,7 @@ with serial.Serial(uart_name, uart_baud_rate, timeout=2) as uart:
|
|||||||
# compact JSON as bytes. Lets decode and load everything !
|
# compact JSON as bytes. Lets decode and load everything !
|
||||||
try:
|
try:
|
||||||
data = json.loads(line.decode('utf8'))
|
data = json.loads(line.decode('utf8'))
|
||||||
reception_date = datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S ")
|
reception_date = datetime.utcnow().strftime("%Y/%m/%d %H:%M:%S")
|
||||||
#print("{} :\n{}".format(reception_date, data))
|
#print("{} :\n{}".format(reception_date, data))
|
||||||
|
|
||||||
# Formatting data for sending to MQTT broker (one source at a time)
|
# Formatting data for sending to MQTT broker (one source at a time)
|
||||||
|
Loading…
Reference in New Issue
Block a user