summaryrefslogtreecommitdiff
path: root/test-cli/test/helpers/qrreader.py
diff options
context:
space:
mode:
authorHector Fernandez <hector@iatec.biz>2020-04-15 17:22:21 +0200
committerHector Fernandez <hector@iatec.biz>2020-04-15 17:22:21 +0200
commit47b65a71d5db142c73a0566f132af6eee3b0c2a9 (patch)
tree926c8198efbbe16cf535504594457a07a58d8f6a /test-cli/test/helpers/qrreader.py
parent99d74b02c7d3ff7eea51f59a2d67651aeab1297f (diff)
downloadboard-47b65a71d5db142c73a0566f132af6eee3b0c2a9.zip
board-47b65a71d5db142c73a0566f132af6eee3b0c2a9.tar.gz
board-47b65a71d5db142c73a0566f132af6eee3b0c2a9.tar.bz2
Every 5s teh qr scanner is refreshed to detect a new devices in case it is unplugged and plugged again.
Diffstat (limited to 'test-cli/test/helpers/qrreader.py')
-rw-r--r--test-cli/test/helpers/qrreader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-cli/test/helpers/qrreader.py b/test-cli/test/helpers/qrreader.py
index 0954a70..908c9db 100644
--- a/test-cli/test/helpers/qrreader.py
+++ b/test-cli/test/helpers/qrreader.py
@@ -41,11 +41,11 @@ class QRReader:
for device in devices:
if device.name in qrdevice_list:
self.__myReader['NAME'] = device.name
- print(self.__myReader['NAME'])
+ #print(self.__myReader['NAME'])
self.__myReader['PATH'] = device.path
- print(self.__myReader['PATH'])
+ #print(self.__myReader['PATH'])
self.__myReader['PHYS'] = device.phys
- print(self.__myReader['PHYS'])
+ #print(self.__myReader['PHYS'])
def IsQR (self):
return 'NAME' in self.__myReader