Commit 775c8a35 authored by Andreas Valder's avatar Andreas Valder
Browse files

removed test for thumbnails if a thumbnail does already exist

parent 07493f88
......@@ -36,9 +36,6 @@ def insert_video(lectureid,dbfilepath,filepath,fileformatid):
schedule_thumbnail(lectureid)
def schedule_thumbnail(lectureid):
exists = query('SELECT * FROM jobs WHERE data LIKE ?','%"lectureid": "'+str(lectureid)+'"%' )
if exists:
return
path = query('SELECT path FROM videos WHERE lecture_id')
videos = query('''
SELECT videos.path
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment