Skip to content

Commit

Permalink
Merge pull request #6253 from tornaria/patch-1
Browse files Browse the repository at this point in the history
Fix deprecation warning
  • Loading branch information
kevin-bates authored Jan 3, 2022
2 parents 8fd3ce9 + f99beef commit bd06221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/auth/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def set_login_cookie(cls, handler, user_id=None):
handler.set_secure_cookie(handler.cookie_name, user_id, **cookie_options)
return user_id

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

@classmethod
def get_token(cls, handler):
Expand Down

0 comments on commit bd06221

Please sign in to comment.