about summary refs log tree commit diff
path: root/uploader/base_routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/base_routes.py')
-rw-r--r--uploader/base_routes.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/uploader/base_routes.py b/uploader/base_routes.py
index 3d0e1b2..80a15a0 100644
--- a/uploader/base_routes.py
+++ b/uploader/base_routes.py
@@ -6,12 +6,12 @@ from urllib.parse import urljoin
 from gn_libs.mysqldb import database_connection
 from flask import (flash,
                    request,
-                   url_for,
                    redirect,
                    Blueprint,
                    current_app as app,
                    send_from_directory)
 
+from uploader.flask_extensions import url_for
 from uploader.ui import make_template_renderer
 from uploader.oauth2.client import user_logged_in
 from uploader.species.models import all_species, species_by_id
@@ -53,8 +53,7 @@ def index():
             return redirect(url_for("base.index", streamlined_ui=streamlined_ui))
 
         return redirect(url_for("species.view_species",
-                                species_id=species["SpeciesId"],
-                                streamlined_ui=streamlined_ui))
+                                species_id=species["SpeciesId"]))
 
 
 def appenv():