We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d98dc commit 7f0ed18Copy full SHA for 7f0ed18
tobiiglassesctrl/controller.py
@@ -147,7 +147,10 @@ def __discover_device__(self):
147
jdata = json.loads(data.decode('utf-8'))
148
logging.debug("From: " + address[0] + " " + str(data))
149
logging.debug("Tobii Pro Glasses found with address: [%s]" % address[0])
150
- return (jdata, address[0])
+ addr = address[0]
151
+ if sys.version_info.major == 3 and sys.version_info.minor >= 8:
152
+ addr = address[0] + '%' + if_name
153
+ return (jdata, addr)
154
except:
155
logging.debug("No device found on interface %s" % if_name)
156
0 commit comments