Permalink
Browse files

fixing pluggable signature object

  • Loading branch information...
1 parent 97cdae2 commit 383aedbff87a825c2fc0b04f1b2b04cdb381411f @maxcountryman maxcountryman committed Mar 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 rauth/session.py
View
4 rauth/session.py
@@ -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)

0 comments on commit 383aedb

Please sign in to comment.