Skip to content

Commit bd06221

Browse files
authored
Merge pull request #6253 from tornaria/patch-1
Fix deprecation warning
2 parents 8fd3ce9 + f99beef commit bd06221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/auth/login.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def set_login_cookie(cls, handler, user_id=None):
112112
handler.set_secure_cookie(handler.cookie_name, user_id, **cookie_options)
113113
return user_id
114114

115-
auth_header_pat = re.compile('token\s+(.+)', re.IGNORECASE)
115+
auth_header_pat = re.compile(r'token\s+(.+)', re.IGNORECASE)
116116

117117
@classmethod
118118
def get_token(cls, handler):

0 commit comments

Comments
 (0)