Skip to content

Commit

Permalink
Fixe IsSSL() on MicroPython
Browse files Browse the repository at this point in the history
  • Loading branch information
jczic committed Jan 23, 2024
1 parent 7646c75 commit b6f0799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MicroWebSrv2/libs/XAsyncSockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ def CliAddr(self) :
@property
def IsSSL(self) :
return ( hasattr(ssl, 'SSLContext') and \
hasattr(ssl, 'SSLSocket') and \
isinstance(self._socket, ssl.SSLSocket) )

@property
Expand Down

0 comments on commit b6f0799

Please sign in to comment.