From 1af3ea702c800b9c49820fe965a8a29abda2b423 Mon Sep 17 00:00:00 2001 From: bkfox Date: Wed, 20 May 2020 14:58:48 +0200 Subject: [PATCH] streamer must have outputs to be run --- aircox_streamer/management/commands/streamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aircox_streamer/management/commands/streamer.py b/aircox_streamer/management/commands/streamer.py index 1465311..1cf562e 100755 --- a/aircox_streamer/management/commands/streamer.py +++ b/aircox_streamer/management/commands/streamer.py @@ -298,7 +298,7 @@ class Command (BaseCommand): for streamer in streamers: if not streamer.outputs: - raise RuntimeError("Streamer {} has no outputs" % streamer.id) + raise RuntimeError("Streamer {} has no outputs".format(streamer.id)) if config: streamer.make_config() if run: