mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-12-18 06:22:18 +00:00
fixing deprecated syntax
This commit is contained in:
parent
1ffc971285
commit
bbdd2cc58f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user