This commit is contained in:
Zeecka
2026-01-08 18:05:46 +01:00
parent 9cbdf8c443
commit 26dbab3fe6
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -1,3 +1,5 @@
"""Main Aperi'Solve module"""
# flake8: noqa: E203,E501,W503
# pylint: disable=C0413,W0718,R0903,R0801
# mypy: disable-error-code=unused-awaitable
+2 -1
View File
@@ -1,5 +1,5 @@
# flake8: noqa: E203,E501,W503
# pylint: disable=C0413,W0718,R0903,R0801
# pylint: disable=C0413,W0718,R0903,R0801,R0915
# mypy: disable-error-code=unused-awaitable
"""Aperi'Solve Flask application."""
@@ -264,6 +264,7 @@ def create_app() -> Flask:
return app
if __name__ == "__main__":
my_app = create_app()
debug_mode = os.environ.get("FLASK_DEBUG", "0") == "1"
+1
View File
@@ -160,6 +160,7 @@ def fill_ihdr_db() -> None:
print(f"Error filling IHDR table: {e}")
db.session.rollback()
def cleanup_old_entries() -> None:
"""
Clean up old and incomplete entries from the database and file system.