Commit 20297fe9 authored by Tim Brooks's avatar Tim Brooks
Browse files

Move app into mcviz namespace

parent cdcecbb3
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
from mcviz.web.app import APP
......@@ -16,15 +16,15 @@ APP = Flask(__name__)
APP.logger.addHandler(FILE_HANDLER)
APP.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
APP.config['RENDER_FOLDER'] = RENDER_FOLDER
from mcviz.logger import log
from mcviz.logger import LOG
for handler in APP.logger.handlers:
log.addHandler(handler)
LOG.addHandler(handler)
from mcviz.options import parse_options
from mcviz.tools.tools import tool_classes
from mcviz.graph import EventGraph
from mcviz.workspace import GraphWorkspace
from url_hash import url_hash
from mcviz.web.url_hash import url_hash
def get_resource_path(folder, file_name):
"""Return absolute path to file in a resource folder"""
......
Supports Markdown
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