mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 22:43:00 +00:00
missing escape in normalize_timestamp
This commit is contained in:
@@ -113,7 +113,7 @@ def normalize_timestamp(ts):
|
|||||||
"""
|
"""
|
||||||
if ts is None:
|
if ts is None:
|
||||||
return
|
return
|
||||||
return re.sub('\d(\.\d+)?', '0', ts)
|
return re.sub(r'\d(\.\d+)?', '0', ts)
|
||||||
|
|
||||||
|
|
||||||
def normalize_user(user):
|
def normalize_user(user):
|
||||||
|
Reference in New Issue
Block a user