mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 11:07:19 +00:00
fixing deprecated syntax
This commit is contained in:
@@ -379,7 +379,7 @@ def walletedit(request, path=None):
|
||||
# if nonumeric wpath name for example
|
||||
return (oldwallet(request, path), None)
|
||||
|
||||
if not re.match("(19|20)\d\d[:#]\d\d\d?", wpath):
|
||||
if not re.match("(19|20)[0-9][0-9][:#]\d{2,3}", wpath):
|
||||
return (None, get_next_empty() )
|
||||
|
||||
ymin, ymax = YEAR_RANGE
|
||||
|
||||
Reference in New Issue
Block a user