streamer must have outputs to be run
This commit is contained in:
parent
b7d20b8f26
commit
1af3ea702c
|
@ -298,7 +298,7 @@ class Command (BaseCommand):
|
||||||
|
|
||||||
for streamer in streamers:
|
for streamer in streamers:
|
||||||
if not streamer.outputs:
|
if not streamer.outputs:
|
||||||
raise RuntimeError("Streamer {} has no outputs" % streamer.id)
|
raise RuntimeError("Streamer {} has no outputs".format(streamer.id))
|
||||||
if config:
|
if config:
|
||||||
streamer.make_config()
|
streamer.make_config()
|
||||||
if run:
|
if run:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user