diff --git a/main.py b/main.py index 0c70e9f..9d5b9e3 100644 --- a/main.py +++ b/main.py @@ -384,7 +384,7 @@ def get_pending_videos(db): JOIN channels c ON v.channel_id = c.id WHERE v.data_downloaded = 1 AND v.processed = 0 and c.language = %s """ - cursor.execute(query, (CHANNELS_LANGUAGE)) + cursor.execute(query, (CHANNELS_LANGUAGE,)) columns = [col[0] for col in cursor.description] results = [dict(zip(columns, row)) for row in cursor.fetchall()] cursor.close()