fix minor

This commit is contained in:
bkfox 2015-12-12 17:16:31 +01:00
parent 012e2dd9d0
commit 985353d238
2 changed files with 5 additions and 1 deletions

View File

@ -20,12 +20,16 @@ import aircox.liquidsoap.utils as utils
class StationConfig:
"""
Configuration and playlist generator for a station.
"""
controller = None
def __init__ (self, station):
self.controller = utils.Controller(station, False)
def handle (self, options):
os.makedirs(self.controller.path, exist_ok = True)
if options.get('config') or options.get('all'):
self.make_config()
if options.get('streams') or options.get('all'):

View File

@ -24,7 +24,7 @@ class Output (models.Model):
settings = models.TextField(
_('output settings'),
help_text = _('list of comma separated params available; '
'this is put in the output config as raw text'),
'this is put in the output config as raw code'),
blank = True, null = True
)