fix alias db
This commit is contained in:
parent
a57138dc50
commit
8a8480af32
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue