Skip to content

Commit f8648d6

Browse files
authored
Update pyarchivefile_py3.py
1 parent 4b21193 commit f8648d6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pyarchivefile_py3.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,20 @@ def randbits(k):
6666
value = int.from_bytes(raw_bytes, 'big')
6767
return value >> (num_bytes * 8 - k)
6868

69-
defcert = None
70-
try:
71-
import certifi
72-
defcert = certifi.where()
73-
except ImportError:
74-
pass
75-
7669
# Optional Bluetooth RFCOMM support: works via stdlib on Linux (AF_BLUETOOTH/BTPROTO_RFCOMM)
7770
# and via PyBluez if installed.
7871
try:
7972
import bluetooth as _pybluez # type: ignore
8073
except Exception:
8174
_pybluez = None
8275

76+
defcert = None
77+
try:
78+
import certifi
79+
defcert = certifi.where()
80+
except ImportError:
81+
pass
82+
8383
import http.cookiejar as cookielib
8484
from http.cookies import SimpleCookie
8585
from http.client import HTTPException

0 commit comments

Comments
 (0)