Commit 97c87d7e authored by gordon bleu's avatar gordon bleu
Browse files

remove circular deps

parent 47d7ec4e
import pixelframe.controllers
import os
from flask import Flask
# create and configure the app
app = Flask(__name__, instance_relative_config=True)
app.config.from_mapping(
SECRET_KEY='dev',
DATABASE=os.path.join(app.instance_path, 'app.sqlite')
)
# ensure the instance folder exists
try:
os.makedirs(app.instance_path)
except OSError:
pass # :D :-D :-D
# return app
with app.app_context():
from . import controllers
from pixelframe import app
from flask import render_template, request
from flask import current_app as app
import pixelframe.pixel_service as pixel_service
import pixelframe.image_config as config
......
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