mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-10 16:08:52 -06:00
fix unneeded imports
This commit is contained in:
@@ -3,14 +3,10 @@ create_app.py
|
||||
|
||||
The create_app function used to create and initialize the app with all of it's extensions and settings.
|
||||
"""
|
||||
import json
|
||||
import os
|
||||
|
||||
from flask import Flask, render_template
|
||||
from flask import Flask
|
||||
from flask_cors import CORS
|
||||
from flask_wtf.csrf import CSRFProtect
|
||||
from sassutils.wsgi import SassMiddleware
|
||||
from werkzeug.exceptions import HTTPException
|
||||
|
||||
from server.config import configs
|
||||
|
||||
@@ -33,7 +29,6 @@ def create_app(env=None):
|
||||
csrf.init_app(app)
|
||||
cors.init_app(app)
|
||||
|
||||
# flask_static_digest.init_app(app)
|
||||
# CLI commands setup
|
||||
@app.shell_context_processor
|
||||
def shell_context():
|
||||
|
||||
Reference in New Issue
Block a user