Skip to content

Commit

Permalink
Fixed unicode bug in lms driver
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrone committed Jan 5, 2017
1 parent a8ad0ab commit c8e9f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/musicdata_lms.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def connectraw(self):
self.rawserver = telnetlib.Telnet(self.server, self.port)

# Subscribe to notification events that should wake up the system to collect data
self.rawserver.write("subscribe pause,play,mixer,playlist\n")
self.rawserver.write("subscribe pause,play,mixer,playlist\n".encode('ascii'))
break
except IOError:
self.rawserver = None
Expand Down

0 comments on commit c8e9f92

Please sign in to comment.