diff --git a/pyproject.toml b/pyproject.toml index 0accf16..bb1d725 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,8 @@ dependencies = [ "Flask-WTF", "Pillow", "Pillow-Heif", - "psycopg2-binary", - "alembic", - "suou>=0.9.0" + "psycopg2", + "alembic" ] requires-python = ">=3.10" classifiers = [ @@ -31,4 +30,4 @@ dev = [ packages = ["xefyl"] [tool.setuptools.dynamic] -version = { attr = "xefyl.__version__" } +version = { attr = "xefyl.__version__" } \ No newline at end of file diff --git a/xefyl/__init__.py b/xefyl/__init__.py index 08fb6f8..f98b564 100644 --- a/xefyl/__init__.py +++ b/xefyl/__init__.py @@ -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))