Skip to content

Commit

Permalink
Passing the ClientSession's loop through to its CookieJar
Browse files Browse the repository at this point in the history
  • Loading branch information
panda73111 committed Mar 19, 2016
1 parent 2832ea4 commit 1cfb2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, *, connector=None, loop=None, cookies=None,
if loop.get_debug():
self._source_traceback = traceback.extract_stack(sys._getframe(1))

self._cookie_jar = CookieJar()
self._cookie_jar = CookieJar(loop=loop)

# For Backward compatability with `share_cookies` connectors
if connector._share_cookies:
Expand Down

0 comments on commit 1cfb2c6

Please sign in to comment.