Deleted one baaaad little space

This commit is contained in:
Pierrick C 2018-08-04 23:04:18 +02:00
parent 273be7d4b4
commit 69ab6d4c2c

View File

@ -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 !
try:
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))
# Formatting data for sending to MQTT broker (one source at a time)