Reformat with black

https://github.com/python/black
This commit is contained in:
David Baumgold 2019-05-06 15:39:41 -04:00
parent 5b309831ec
commit 025589ee76
63 changed files with 3784 additions and 3459 deletions

View file

@ -1,15 +1,19 @@
from flask import Blueprint, render_template
admin = Blueprint('admin', __name__, url_prefix='/admin',
template_folder='templates',
static_folder='static')
admin = Blueprint(
"admin",
__name__,
url_prefix="/admin",
template_folder="templates",
static_folder="static",
)
@admin.route('/')
@admin.route("/")
def index():
return render_template('admin/index.html')
return render_template("admin/index.html")
@admin.route('/index2')
@admin.route("/index2")
def index2():
return render_template('./admin/index.html')
return render_template("./admin/index.html")