Skip to content

Commit

Permalink
fixing pluggable signature object
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcountryman committed Mar 21, 2013
1 parent 97cdae2 commit 383aedb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rauth/session.py
Expand Up @@ -106,8 +106,8 @@ def __init__(self,
self.access_token_secret = access_token_secret

#: Signing method.
if signature is None:
self.signature = HmacSha1Signature()
signature = signature or HmacSha1Signature
self.signature = signature()

super(OAuth1Session, self).__init__(service)

Expand Down

0 comments on commit 383aedb

Please sign in to comment.