<reponame>Wordseer/wordseer
"""Blueprint for the uploader.

The uploader handles creation and deletion of files and projects, as well as
sending them to the processing pipeline.
"""

import os

from flask import Blueprint

static_url = os.path.dirname(__file__)#Problem with this static absolute path. changed to relative
uploader = Blueprint('uploader', __name__,
    template_folder='templates',
    static_folder="static",
    static_url_path="/app/uploader")
#print os.path.dirname(__name__)

from .views import *

from . import errors

uploader.app_template_global(views.generate_form_token)

"""Blueprint for the uploader.

The uploader handles creation and deletion of files and projects, as well as
sending them to the processing pipeline.
"""

import os

from flask import Blueprint

static_url = os.path.dirname(__file__)#Problem with this static absolute path. changed to relative
uploader = Blueprint('uploader', __name__,
    template_folder='templates',
    static_folder="static",
    static_url_path="/app/uploader")
#print os.path.dirname(__name__)

from .views import *

from . import errors

uploader.app_template_global(views.generate_form_token)
Blueprint for the uploader.  The uploader handles creation and deletion of files and projects, as well as sending them to the processing pipeline. #Problem with this static absolute path. changed to relative #print os.path.dirname(__name__)