Skip to content

Commit

Permalink
WIP: trying to solve Travis build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bengolder committed Mar 18, 2016
1 parent 7bf8e27 commit d04d9ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from flask import request
from flask import url_for


def create_app():
config = os.environ.get('CONFIG', 'src.settings.DevConfig')
app = Flask(__name__)
Expand All @@ -21,13 +22,16 @@ def create_app():
register_logging(app, config)
return app


def register_extensions(app):
db.init_app(app)
ma.init_app(app)


def register_blueprints(app):
app.register_blueprint(blueprint)


def register_context_processors(app):
app.context_processor(inject_static_url)

Expand Down

0 comments on commit d04d9ad

Please sign in to comment.