Skip to content

Commit

Permalink
Apparently hexdigest returns str
Browse files Browse the repository at this point in the history
  • Loading branch information
Mortal committed Apr 27, 2018
1 parent 0e5eca1 commit 67f5055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion news/facebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, *args, app_secret, **kwargs):
super().__init__(*args, **kwargs)
self.appsecret_proof = hmac.new(app_secret.encode('ascii'),
self.access_token.encode('ascii'),
hashlib.sha256).hexdigest().decode()
hashlib.sha256).hexdigest()

def request(self, path, args=None, post_args=None, **kwargs):
if post_args is not None:
Expand Down

0 comments on commit 67f5055

Please sign in to comment.