Increase reading serial connection timeout to match real case polling.

This commit is contained in:
Mikaël Ates 2016-02-25 11:51:12 +01:00
parent 000951a2d3
commit c917347a71
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class RFIDReader():
read = connection.read(1)
if not read:
break
connection.timeout = 0.001
connection.timeout = 0.01
response += read
end = datetime.today()
connection.close()