streamer must have outputs to be run

This commit is contained in:
bkfox 2020-05-20 14:57:55 +02:00
parent 2bdddbced8
commit b7d20b8f26

View File

@ -297,6 +297,8 @@ class Command (BaseCommand):
streamers = [Streamer(station) for station in stations]
for streamer in streamers:
if not streamer.outputs:
raise RuntimeError("Streamer {} has no outputs" % streamer.id)
if config:
streamer.make_config()
if run: