cuda image

This commit is contained in:
t0is 2025-03-21 16:20:36 +01:00
parent af9e579400
commit 8462d1fb96

View File

@ -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()