diff --git a/attract/shots_and_assets/routes_assets.py b/attract/shots_and_assets/routes_assets.py index 53be8e6..0fe2c3e 100644 --- a/attract/shots_and_assets/routes_assets.py +++ b/attract/shots_and_assets/routes_assets.py @@ -1,18 +1,15 @@ import logging -import flask_login from flask import Blueprint, render_template, request import flask -import werkzeug.exceptions as wz_exceptions import pillarsdk import pillar.api.utils from pillar.web.system_util import pillar_api from attract.routes import attract_project_view -from attract.node_types.asset import node_type_asset, task_types -from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS -from pillar.web.utils import get_file +from attract.node_types.asset import node_type_asset +from attract import current_attract from . import routes_common diff --git a/attract/shots_and_assets/routes_shots.py b/attract/shots_and_assets/routes_shots.py index 4655d0b..7535815 100644 --- a/attract/shots_and_assets/routes_shots.py +++ b/attract/shots_and_assets/routes_shots.py @@ -1,6 +1,5 @@ import logging -import flask_login from flask import Blueprint, render_template, request import flask import werkzeug.exceptions as wz_exceptions @@ -10,9 +9,8 @@ import pillar.api.utils from pillar.web.system_util import pillar_api from attract.routes import attract_project_view -from attract.node_types.shot import node_type_shot, task_types -from attract import current_attract, ROLES_REQUIRED_TO_VIEW_ITEMS -from pillar.web.utils import get_file +from attract.node_types.shot import node_type_shot +from attract import current_attract from . import routes_common