Skip to content

Commit 595018c

Browse files
davidshepherd7code-of-kpp
authored andcommitted
Fix a typo in use of self._ssl_context variable
1 parent a3db286 commit 595018c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smpplib/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _create_socket(self):
125125
if self._ssl_context is None:
126126
return raw_socket
127127

128-
return ssl_context.wrap_socket(raw_socket)
128+
return self._ssl_context.wrap_socket(raw_socket)
129129

130130
def connect(self):
131131
"""Connect to SMSC"""

0 commit comments

Comments
 (0)