Commit 438b38f1 authored by kaiyou's avatar kaiyou

Display profile.pick even for a single profile

parent 2bdd3ef2
......@@ -22,7 +22,7 @@ def get_profile(service, **redirect_args):
return active.filter_by(
if active.count() == 1:
elif profiles.count() > 1:
elif profiles.count() > 0:
utils.force_redirect(utils.url_for("profile.pick", **redirect_args))
utils.force_redirect(utils.url_for("profile.create_quick", **redirect_args))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment