Commits

Luke Plant committed 9fc9fa5

Fixed Python 3 compat for shell-fm

  • Participants
  • Parent commits 50359ff

Comments (0)

Files changed (1)

File playerdo/backends/shellfm.py

     def _send_command(self, command):
         s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
         s.connect(self._socket_path())
-        s.send(command + "\n")
+        s.send((command + "\n").encode("ascii"))
         s.close()
 
     def is_stopped(self):