fix alias db
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.14) (push) Successful in 1m31s
Ruff / ruff (push) Successful in 1m11s
Pytest / pytest (3.12) (push) Successful in 1m20s
Pytest / pytest (3.13) (push) Successful in 1m30s

This commit is contained in:
Justus Kuhlmann 2026-03-23 18:26:40 +01:00
commit 8a8480af32
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -28,7 +28,7 @@ def _project_lookup_by_alias(db: Path, alias: str) -> str:
"""
conn = sqlite3.connect(db)
c = conn.cursor()
c.execute(f"SELECT * FROM 'projects' WHERE alias = '{alias}'")
c.execute(f"SELECT * FROM 'projects' WHERE aliases = '{alias}'")
results = c.fetchall()
conn.close()
if len(results)>1: