CC-1469: Crossfading support (non-equal power)

-fix few bugs
This commit is contained in:
Martin Konecny 2013-03-22 15:21:28 -04:00
parent 33ca2e7c9c
commit 8a5c82d71a
2 changed files with 12 additions and 14 deletions

View file

@ -147,8 +147,8 @@ class TelnetLiquidsoap:
finally:
self.telnet_lock.release()
def get_current_stream_id():
try:
def get_current_stream_id(self):
try:
self.telnet_lock.acquire()
tn = telnetlib.Telnet(self.ls_host, self.ls_port)