Skip to content

Commit

Permalink
hooks fix psf#227
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Oct 26, 2011
1 parent 6140fac commit 6ac1e02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requests/sessions.py
Expand Up @@ -161,8 +161,9 @@ def request(self, method, url,

args[attr] = merge_kwargs(local_val, session_val)


# Arguments manipulation hook.
args = dispatch_hook('args', hooks, args)
args = dispatch_hook('args', args['hooks'], args)

r = Request(**args)

Expand Down

0 comments on commit 6ac1e02

Please sign in to comment.