Skip to content

Commit

Permalink
Merge pull request #18 from arthurdarcet/patch-1
Browse files Browse the repository at this point in the history
Fix OAuth1Client: yarl.quote only takes a Mapping[str,str]
  • Loading branch information
klen authored Nov 16, 2016
2 parents 1b46e89 + 3d6ed23 commit 96ea56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def request(self, method, url, params=None, headers=None, timeout=10, loop=None,
'oauth_consumer_key': self.consumer_key,
'oauth_nonce': sha1(str(random()).encode('ascii')).hexdigest(),
'oauth_signature_method': self.signature.name,
'oauth_timestamp': int(time.time()),
'oauth_timestamp': str(int(time.time())),
'oauth_version': self.version,
}
oparams.update(params or {})
Expand Down

0 comments on commit 96ea56b

Please sign in to comment.