python-oauth2
python-oauth2 copied to clipboard
update __init__.py
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'