mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Update requests-oauthlib-1.3.0
This commit is contained in:
parent
e55576fd80
commit
f165d2d080
15 changed files with 552 additions and 257 deletions
|
@ -29,9 +29,9 @@ def slack_compliance_fix(session):
|
|||
# ``data`` is something other than a dict: maybe a stream,
|
||||
# maybe a file object, maybe something else. We can't easily
|
||||
# modify it, so we'll set the token by modifying the URL instead.
|
||||
token = [('token', session.access_token)]
|
||||
token = [("token", session.access_token)]
|
||||
url = add_params_to_uri(url, token)
|
||||
return url, headers, data
|
||||
|
||||
session.register_compliance_hook('protected_request', _non_compliant_param_name)
|
||||
session.register_compliance_hook("protected_request", _non_compliant_param_name)
|
||||
return session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue