amanuensis/amanuensis/app/__init__.py
2020-01-08 21:42:21 -08:00

11 lines
223 B
Python

from flask import Flask, render_template
import config
app = Flask(__name__, template_folder="../templates")
app.secret_key = bytes.fromhex(config.get('secret_key'))
from .auth import bp
app.register_blueprint(auth.bp)