cuda image
This commit is contained in:
parent
af9e579400
commit
8462d1fb96
2
main.py
2
main.py
@ -384,7 +384,7 @@ def get_pending_videos(db):
|
|||||||
JOIN channels c ON v.channel_id = c.id
|
JOIN channels c ON v.channel_id = c.id
|
||||||
WHERE v.data_downloaded = 1 AND v.processed = 0 and c.language = %s
|
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]
|
columns = [col[0] for col in cursor.description]
|
||||||
results = [dict(zip(columns, row)) for row in cursor.fetchall()]
|
results = [dict(zip(columns, row)) for row in cursor.fetchall()]
|
||||||
cursor.close()
|
cursor.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user