Skip to content

Commit 2821063

Browse files
committed
Minor reformat in server.py imports
1 parent b5a6051 commit 2821063

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

adafruit_httpserver/server.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@
3636
try:
3737
from ssl import SSLContext, create_default_context
3838

39-
try: # ssl imports for C python
40-
from ssl import (
41-
CERT_NONE,
42-
Purpose,
43-
SSLError,
44-
)
39+
try: # ssl imports for CPython
40+
from ssl import CERT_NONE, Purpose, SSLError
4541
except ImportError:
4642
pass
4743
SSL_AVAILABLE = True

0 commit comments

Comments
 (0)