streamer must have outputs to be run
This commit is contained in:
		@ -297,6 +297,8 @@ class Command (BaseCommand):
 | 
				
			|||||||
        streamers = [Streamer(station) for station in stations]
 | 
					        streamers = [Streamer(station) for station in stations]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for streamer in streamers:
 | 
					        for streamer in streamers:
 | 
				
			||||||
 | 
					            if not streamer.outputs:
 | 
				
			||||||
 | 
					                raise RuntimeError("Streamer {} has no outputs" % streamer.id)
 | 
				
			||||||
            if config:
 | 
					            if config:
 | 
				
			||||||
                streamer.make_config()
 | 
					                streamer.make_config()
 | 
				
			||||||
            if run:
 | 
					            if run:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user