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
afbdf709
Commit
afbdf709
authored
Jul 26, 2017
by
Andreas Valder
Browse files
sql syntax error
parent
7b68cf9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
livestreams.py
View file @
afbdf709
...
...
@@ -2,11 +2,7 @@ from server import *
@
sched_func
(
30
)
def
livestream_thumbnail
():
livestreams
=
query
(
'''SELECT streams.lecture_id
FROM streams
JOIN lectures ON lectures.id = streams.lecture_id
WHERE streams.active)
'''
)
livestreams
=
query
(
'SELECT streams.lecture_id FROM streams WHERE streams.active'
)
for
v
in
genlive
(
livestreams
):
sorter
.
schedule_thumbnail
(
v
[
'lecture_id'
],
v
[
'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