mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
Fix formatting
This commit is contained in:
parent
c0041d55bc
commit
012bc52694
1 changed files with 1 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
from flask import render_template, request, redirect, url_for, flash
|
||||
from flask_login import login_required, current_user
|
||||
from sqlalchemy.orm import joinedload
|
||||
|
@ -144,9 +143,7 @@ def index():
|
|||
alias_infos = get_alias_infos_with_pagination_v2(
|
||||
current_user, page, query, sort, alias_filter
|
||||
)
|
||||
last_page = (
|
||||
len(alias_infos) < PAGE_LIMIT
|
||||
)
|
||||
last_page = len(alias_infos) < PAGE_LIMIT
|
||||
|
||||
return render_template(
|
||||
"dashboard/index.html",
|
||||
|
|
Loading…
Reference in a new issue