CC-4771: System -> Streams: It will restart liquidsoap every time when I click "Save" button without changing anything

- fixed
This commit is contained in:
James 2013-01-03 14:42:12 -05:00
parent f5b6d85406
commit a05259bd8f
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class PypoFetch(Thread):
dump, stream = s[u'keyname'].split('_', 1)
state_change_restart[stream] = False
# This is the case where restart is required no matter what
if (existing[s[u'keyname']] != s[u'value']):
if (existing[s[u'keyname']] != str(s[u'value'])):
self.logger.info("'Need-to-restart' state detected for %s...", s[u'keyname'])
restart = True;
elif "master_live_stream_port" in s[u'keyname'] or "master_live_stream_mp" in s[u'keyname'] or "dj_live_stream_port" in s[u'keyname'] or "dj_live_stream_mp" in s[u'keyname']: