Skip to content

Commit

Permalink
Fix severe bug in session code
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed May 1, 2014
1 parent 48507a6 commit 05e348c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webuntis/utils/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def rpc_request(config, method, params):
log('debug', 'DATA: ' + str(request_body))

if '_http_session' not in config:
config['_http_session'] = requests.session
config['_http_session'] = requests.session()
http_session = config['_http_session']

result_body = _send_request(
Expand Down

0 comments on commit 05e348c

Please sign in to comment.