Compare commits
No commits in common. "master" and "v0.2.1" have entirely different histories.
2 changed files with 5 additions and 5 deletions
|
|
@ -13,9 +13,8 @@ dependencies = [
|
|||
"Flask-WTF",
|
||||
"Pillow",
|
||||
"Pillow-Heif",
|
||||
"psycopg2-binary",
|
||||
"alembic",
|
||||
"suou>=0.9.0"
|
||||
"psycopg2",
|
||||
"alembic"
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ from sqlalchemy import func, select, create_engine
|
|||
from sqlalchemy.exc import ProgrammingError
|
||||
import warnings
|
||||
|
||||
__version__ = "0.2.2"
|
||||
__version__ = "0.2.1"
|
||||
|
||||
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
|
||||
|
|
@ -59,6 +59,7 @@ app.url_map.converters['video_ext'] = VideoExtConverter
|
|||
## helpers
|
||||
|
||||
|
||||
|
||||
def paginated_query(q, n_per_page, argname="page"):
|
||||
if isinstance(argname, str) and not argname.isdigit():
|
||||
n = int(request.args.get(argname, 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue