Remove double encode which caused webstream playout to break

This commit is contained in:
Keoni Mahelona 2020-03-09 15:05:27 +13:00 committed by Kyle Robbertze
parent ca0d01b693
commit 91996c91bc
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class TelnetLiquidsoap:
self.logger.debug(msg)
tn.write(msg.encode('utf-8'))
msg = 'http.restart %s\n' % media_item['uri'].encode('latin-1')
msg = 'http.restart %s\n' % media_item['uri']
self.logger.debug(msg)
tn.write(msg.encode('utf-8'))