Skip to content

Commit

Permalink
Update sslconnection.py
Browse files Browse the repository at this point in the history
  • Loading branch information
houdini91 authored Dec 19, 2018
1 parent c094a36 commit 529cf56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dtls/sslconnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ class _CallbackProxy(object):
"""

def __init__(self, cbm):
self.ssl_connection = proxy(cbm.im_self)
self.ssl_func = cbm.im_func
self.ssl_connection = proxy(cbm.__self__)
self.ssl_func = cbm.__func__

def __call__(self, *args, **kwargs):
return self.ssl_func(self.ssl_connection, *args, **kwargs)
Expand Down

0 comments on commit 529cf56

Please sign in to comment.