We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f28ca3 commit 4b21193Copy full SHA for 4b21193
1 file changed
pyarchivefile_py3.py
@@ -73,6 +73,13 @@ def randbits(k):
73
except ImportError:
74
pass
75
76
+# Optional Bluetooth RFCOMM support: works via stdlib on Linux (AF_BLUETOOTH/BTPROTO_RFCOMM)
77
+# and via PyBluez if installed.
78
+try:
79
+ import bluetooth as _pybluez # type: ignore
80
+except Exception:
81
+ _pybluez = None
82
+
83
import http.cookiejar as cookielib
84
from http.cookies import SimpleCookie
85
from http.client import HTTPException
0 commit comments