python-oauth2 icon indicating copy to clipboard operation
python-oauth2 copied to clipboard

update __init__.py

Open rendiya opened this issue 8 years ago • 0 comments

fix bug File "/home/rendiya/Public/pypro/cucakrowo/facebook/venv/lib/python3.5/site-packages/oauth2/init.py", line 493, in sign_request self['oauth_body_hash'] = base64.b64encode(sha1(str(self.body).decode('utf-8')).digest()) AttributeError: 'str' object has no attribute 'decode'

rendiya avatar Oct 20 '17 02:10 rendiya