From c81b6401aea1ed3d14c169065aba844013e317b4 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 15 Nov 2024 05:09:39 +0100 Subject: [PATCH] Fix broken SQL code. --- ytplom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytplom.py b/ytplom.py index fd52f3e..22af684 100755 --- a/ytplom.py +++ b/ytplom.py @@ -243,7 +243,7 @@ class VideoData(DbData): query_id: QueryId ) -> list[Self]: """Return all videos for query of query_id.""" - sql = SqlText('SELECT video_id' + sql = SqlText('SELECT video_id ' 'FROM yt_query_results WHERE query_id = ?') video_ids = conn.exec(sql, (query_id,)).fetchall() return [cls.get_one(conn, video_id_tup[0]) -- 2.30.2