Oups wrong keywork x)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2020-10-21 23:01:15 +02:00
parent 64462a2c60
commit 4fa3f91a32

View File

@ -99,7 +99,7 @@ def curl_content(url, params=None, ajax=False, debug=True):
http_code = response.status_code
except CloudflareException as e:
if CLOUDPROXY_ENDPOINT:
nonlocal cloudproxy_session
global cloudproxy_session
if not cloudproxy_session:
json_session = requests.post(CLOUDPROXY_ENDPOINT, headers=headers, data=dumps({
'cmd': 'sessions.create'