diff options
Diffstat (limited to 'update_sharing.py')
-rwxr-xr-x | update_sharing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_sharing.py b/update_sharing.py index f8300f6..1e1e06a 100755 --- a/update_sharing.py +++ b/update_sharing.py @@ -53,7 +53,7 @@ def main(): pkgdict = compute_pkgdict(rows) for row in rows: cid = row[1] - already = conn.scalar("SELECT cid FROM duplicate WHERE cid = :cid;", + already = conn.scalar(sqlalchemy.text("SELECT cid FROM duplicate WHERE cid = :cid;"), cid=cid) if not already: conn.execute(sqlalchemy.text("INSERT INTO duplicate (cid) VALUES (:cid);"), |