Commit 33a3f276 authored by Samuel Devlin's avatar Samuel Devlin

on OSX, socket.py has no BDADDR_*

parent 3a038276
...@@ -52,9 +52,11 @@ for name in _socketmodule.__all__: ...@@ -52,9 +52,11 @@ for name in _socketmodule.__all__:
g[name] = value g[name] = value
del g, name, value del g, name, value
BDADDR_ANY = _socketmodule.BDADDR_ANY try:
BDADDR_LOCAL = _socketmodule.BDADDR_LOCAL BDADDR_ANY = _socketmodule.BDADDR_ANY
BDADDR_LOCAL = _socketmodule.BDADDR_LOCAL
except AttributeError:
pass
############################################################################## ##############################################################################
# Timeout. # Timeout.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment