Skip to content

Commit b76b259

Browse files
committed
logging.warn -> warning
1 parent 0dd0e82 commit b76b259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filesender/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def prepare(self, client: AsyncClient):
104104
if cookie.name.lower() == "csrfptoken":
105105
self.csrf_token = cookie.value
106106
if self.csrf_token is None:
107-
logger.warn("No CSRF token could be found!")
107+
logger.warning("No CSRF token could be found!")
108108

109109
def sign(self, request: SignType, client: AsyncClient) -> SignType:
110110
request.url = request.url.copy_add_param("vid", self.guest_token)

0 commit comments

Comments
 (0)