fix the fix

This commit is contained in:
Arti Zirk 2016-10-15 11:25:16 +02:00
parent 117ae69e27
commit f26ff29eef

View File

@ -206,7 +206,7 @@ if __name__ == "__main__":
with serial.Serial(ser_dev, timeout=1) as s:
arduino = s
import threading
t = threading.Thread(target=stream, args=[ser_dev])
t = threading.Thread(target=stream, args=[s])
# classifying as a daemon, so they will die when the main dies