We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f18052 commit 4e65eb4Copy full SHA for 4e65eb4
1 file changed
pyfoxfile_py3.py
@@ -66,6 +66,13 @@ def randbits(k):
66
value = int.from_bytes(raw_bytes, 'big')
67
return value >> (num_bytes * 8 - k)
68
69
+# Optional Bluetooth RFCOMM support: works via stdlib on Linux (AF_BLUETOOTH/BTPROTO_RFCOMM)
70
+# and via PyBluez if installed.
71
+try:
72
+ import bluetooth as _pybluez # type: ignore
73
+except Exception:
74
+ _pybluez = None
75
+
76
defcert = None
77
try:
78
import certifi
0 commit comments