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