lint: reformat python code with black
This commit is contained in:
parent
331beb01b4
commit
a406a7974b
88 changed files with 2579 additions and 1608 deletions
|
@ -9,9 +9,15 @@ bp = Blueprint("smart_proxy", __name__)
|
|||
|
||||
@bp.route("/list")
|
||||
def smart_proxy_list() -> ResponseReturnValue:
|
||||
instances = SmartProxy.query.filter(SmartProxy.destroyed.is_(None)).order_by(desc(SmartProxy.added)).all()
|
||||
return render_template("list.html.j2",
|
||||
section="smart_proxy",
|
||||
title="Smart Proxy Instances",
|
||||
item="smart proxy",
|
||||
items=instances)
|
||||
instances = (
|
||||
SmartProxy.query.filter(SmartProxy.destroyed.is_(None))
|
||||
.order_by(desc(SmartProxy.added))
|
||||
.all()
|
||||
)
|
||||
return render_template(
|
||||
"list.html.j2",
|
||||
section="smart_proxy",
|
||||
title="Smart Proxy Instances",
|
||||
item="smart proxy",
|
||||
items=instances,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue