File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55
66Requires Python 2.6 or higher, or the "simplejson" package.
77"""
8- version_info = (1 , 8 , 4 )
8+ version_info = (1 , 8 , 5 )
99__name__ = 'dyn'
1010__doc__ = 'A python wrapper for the DynDNS and DynEmail APIs'
1111__author__ = '''
Original file line number Diff line number Diff line change @@ -185,9 +185,9 @@ def connect(self):
185185 use_proxy = True
186186
187187 if self .proxy_user and self .proxy_pass :
188- auth = '{}:{}' .format (self .proxy_user , self .proxy_pass )
189- headers ['Proxy-Authorization' ] = 'Basic ' + base64 .b64encode (
190- auth )
188+ auth = '{}:{}' .format (self .proxy_user , self .proxy_pass ). encode ()
189+ headers ['Proxy-Authorization' ] = 'Basic ' + str ( base64 .b64encode (
190+ auth ))
191191
192192 if use_proxy :
193193 if self .ssl :
You can’t perform that action at this time.
0 commit comments