diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py index b7b03b6..ea2cf80 100644 --- a/core/views/wallets_edit.py +++ b/core/views/wallets_edit.py @@ -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