mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 06:58:12 +08:00
Consistency with quotes
' -> "
This commit is contained in:
@@ -2,10 +2,10 @@ from flask import (
|
||||
Blueprint, render_template, url_for, current_app
|
||||
)
|
||||
|
||||
bp = Blueprint('webapp', __name__, template_folder='templates')
|
||||
bp = Blueprint("webapp", __name__, template_folder="templates")
|
||||
|
||||
|
||||
@bp.route('/')
|
||||
@bp.route("/")
|
||||
def index():
|
||||
url_base = current_app.config["CXG_API_BASE"]
|
||||
dataset_title = current_app.config["DATASET_TITLE"]
|
||||
@@ -13,12 +13,12 @@ def index():
|
||||
|
||||
|
||||
# renders swagger documentation
|
||||
@bp.route('/swagger')
|
||||
@bp.route("/swagger")
|
||||
def swag():
|
||||
return render_template("swagger.html")
|
||||
|
||||
|
||||
# renders swagger documentation
|
||||
@bp.route('/favicon.png')
|
||||
@bp.route("/favicon.png")
|
||||
def favicon():
|
||||
return url_for("static", filename="img/favicon.png")
|
||||
|
||||
Reference in New Issue
Block a user