USE CORRECT SERIAL NUMBER FOR SAVING DATA!

This commit is contained in:
xss 2022-03-12 18:01:31 +11:00
parent 4d19dad750
commit 67e47ab0fe

View File

@ -603,7 +603,7 @@ async def predict_async(event, context):
if data:
serial_data[data[0]] = data[1]
if data[2]:
reverse_serial_data[serial] = data[2]
reverse_serial_data[data[0]] = data[2]