diff --git a/yellow/routes.py b/yellow/routes.py index 57325b0..d8a601b 100644 --- a/yellow/routes.py +++ b/yellow/routes.py @@ -36,7 +36,7 @@ async def dashboard(): async def dashboard_address_post(): form = await request.form address = form.get('address') - if not bool(re.match(r'^(WW)\\d[0-9A-Za-z]{94}$', address)): + if len(address) != 97: raise Exception("Please submit a WOW address") # update user