Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 942d7c7600 |
2 changed files with 5 additions and 5 deletions
|
|
@ -13,8 +13,9 @@ dependencies = [
|
||||||
"Flask-WTF",
|
"Flask-WTF",
|
||||||
"Pillow",
|
"Pillow",
|
||||||
"Pillow-Heif",
|
"Pillow-Heif",
|
||||||
"psycopg2",
|
"psycopg2-binary",
|
||||||
"alembic"
|
"alembic",
|
||||||
|
"suou>=0.9.0"
|
||||||
]
|
]
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
|
|
@ -30,4 +31,4 @@ dev = [
|
||||||
packages = ["xefyl"]
|
packages = ["xefyl"]
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = { attr = "xefyl.__version__" }
|
version = { attr = "xefyl.__version__" }
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ from sqlalchemy import func, select, create_engine
|
||||||
from sqlalchemy.exc import ProgrammingError
|
from sqlalchemy.exc import ProgrammingError
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
__version__ = "0.2.1"
|
__version__ = "0.2.2"
|
||||||
|
|
||||||
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
APP_BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
|
@ -59,7 +59,6 @@ app.url_map.converters['video_ext'] = VideoExtConverter
|
||||||
## helpers
|
## helpers
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def paginated_query(q, n_per_page, argname="page"):
|
def paginated_query(q, n_per_page, argname="page"):
|
||||||
if isinstance(argname, str) and not argname.isdigit():
|
if isinstance(argname, str) and not argname.isdigit():
|
||||||
n = int(request.args.get(argname, 1))
|
n = int(request.args.get(argname, 1))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue