aboutsummaryrefslogtreecommitdiff
path: root/pyenc/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyenc/__init__.py')
-rw-r--r--pyenc/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pyenc/__init__.py b/pyenc/__init__.py
index 08f724b..d5ec4f4 100644
--- a/pyenc/__init__.py
+++ b/pyenc/__init__.py
@@ -1,6 +1,4 @@
-"""
-app object setup for application
-"""
+"""App object setup for application."""
import flask
from flask import (
@@ -21,6 +19,11 @@ import yaml
def create_app():
+ """
+ Create new flask app.
+
+ Should bind everything needed to it.
+ """
app = Flask(__name__, instance_relative_config=True)
app.config.from_pyfile('settings.py')