Commit da6a73fe authored by Julian Rother's avatar Julian Rother
Browse files

Small fix

parent 11ffa116
......@@ -154,7 +154,7 @@ def streamauth(server):
modify('UPDATE live_sources SET server = NULL, clientid = NULL, preview_key = NULL, last_active = ? WHERE server = ? AND clientid = ?',, server, request.values['clientid'])
if not source:
return 'Ok', 200
for lecture in query('SELECT lectures FROM lectures WHERE stream_job IS NOT NULL'):
for lecture in query('SELECT * FROM lectures WHERE stream_job IS NOT NULL'):
settings = json.loads(lecture['stream_settings'])
if source['id'] in [settings.get('source1'), settings.get('source2')]:
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