Skip to content

Commit

Permalink
Fixed error with mpv and utf8 osd
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriziel committed Feb 22, 2014
1 parent 698c083 commit b814564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/players/mplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def run(self):

def sendLine(self, line):
try:
line = (line + "\n").encode('utf8')
line = (line.decode('utf8') + u"\n").encode('utf8')
self.__process.stdin.write(line)
except IOError:
pass

0 comments on commit b814564

Please sign in to comment.