Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
775c8a35
Commit
775c8a35
authored
Jun 08, 2017
by
Andreas Valder
Browse files
removed test for thumbnails if a thumbnail does already exist
parent
07493f88
Changes
1
Hide whitespace changes
Inline
Side-by-side
sorter.py
View file @
775c8a35
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment