File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ async def fetch_url_content_with_session(url: str) -> str:
5353 ) as http_session ,
5454 http_session .get (url = url , ssl = GLOBAL_SSL_CONTEXT ) as http_response ,
5555 ):
56- returned_asp_cookie : Morsel [str ] | None = http_response .cookies .get (".AspNet.SharedCookie" )
57- if (
58- returned_asp_cookie is not None
59- and returned_asp_cookie . value
60- != BASE_SU_PLATFORM_WEB_COOKIES [".AspNet.SharedCookie" ]
56+ returned_asp_cookie : Morsel [str ] | None = http_response .cookies .get (
57+ ".AspNet.SharedCookie"
58+ )
59+ if returned_asp_cookie is not None and (
60+ returned_asp_cookie . value != BASE_SU_PLATFORM_WEB_COOKIES [".AspNet.SharedCookie" ]
6161 ):
6262 logger .info ("SU platform access cookie was updated by the server; updating local." )
6363 BASE_SU_PLATFORM_WEB_COOKIES = {
You can’t perform that action at this time.
0 commit comments