Skip to content

Commit

Permalink
no need for redirect, as we are expected to return a url
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarcosta committed Dec 9, 2024
1 parent 2877393 commit a6b596f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmfdb/abvar/fq/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def url_for_label(label):
validate_label(label)
except ValueError as err:
flash_error("%s is not a valid label: %s.", label, str(err))
return redirect(url_for(".abelian_varieties"))
return url_for(".abelian_varieties")
g, q, iso = split_label(label)
return url_for(".abelian_varieties_by_gqi", g=g, q=q, iso=iso)

Expand Down

0 comments on commit a6b596f

Please sign in to comment.