Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Video AG Infrastruktur
website
Commits
95f0573f
Commit
95f0573f
authored
Jul 28, 2018
by
Julian Rother
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Another fix
parent
d6827209
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
livestreams.py
livestreams.py
+1
-1
No files found.
livestreams.py
View file @
95f0573f
...
...
@@ -156,7 +156,7 @@ def streamauth(server):
return
'Ok'
,
200
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'
)]:
if
str
(
source
[
'id'
]
)
in
[
str
(
settings
.
get
(
'source1'
)
)
,
str
(
settings
.
get
(
'source2'
)
)
]:
cancel_job
(
lecture
[
'stream_job'
])
return
'Ok'
,
200
return
'Bad request'
,
400
...
...
Write
Preview
Markdown
is supported
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