diff --git a/requests/core.py b/requests/core.py index 0fa5fd1d..89cc0091 100644 --- a/requests/core.py +++ b/requests/core.py @@ -308,7 +308,7 @@ def _detect_auth(url, auth): def _get_autoauth(url): - for (authauth_url, auth) in AUTOAUTHS: + for (autoauth_url, auth) in AUTOAUTHS: if autoauth_url in url: return auth