Exception fix.
This commit is contained in:
parent
d6352e6a15
commit
46bef32416
@ -141,7 +141,7 @@ class MplayerProtocol(LineProcessProtocol):
|
||||
self.setUpFileInPlayer()
|
||||
|
||||
def mplayer_answer_length(self, value):
|
||||
self.duration = int(value)
|
||||
self.duration = int(float(value))
|
||||
self.fileupdatesteps += 1
|
||||
if(self.fileupdatesteps == 3):
|
||||
self.setUpFileInPlayer()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user