fix #40, changed variable name

returnUrl => ReturnUrl
This commit is contained in:
Eric Blade
2024-01-24 23:53:36 -05:00
parent 26384a01b7
commit fd0fa2785f

View File

@@ -136,7 +136,7 @@ while True:
# get the ReturnUrl from the response
query = parse_qs(urlparse(preauth_url).query)
return_url = query["returnUrl"][0]
return_url = query["ReturnUrl"][0]
debug(f"{return_url=}")
if "X-CSRF-FORM-TOKEN" in r.cookies: