Merge branch 'saas-dev' into saas-stream-settings
This commit is contained in:
commit
44dd969c0c
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def generate_liquidsoap_config(ss):
|
||||||
str_buffer = "%s = %s\n" % (key, int(value))
|
str_buffer = "%s = %s\n" % (key, int(value))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
try: # Is it a boolean?
|
try: # Is it a boolean?
|
||||||
if "true" in value or "false" in value:
|
if value=="true" or value=="false":
|
||||||
str_buffer = "%s = %s\n" % (key, value.lower())
|
str_buffer = "%s = %s\n" % (key, value.lower())
|
||||||
else:
|
else:
|
||||||
raise ValueError() # Just drop into the except below
|
raise ValueError() # Just drop into the except below
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue