Skip to content

Commit

Permalink
Attempt to fix mpv quit error (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
Et0h authored Dec 29, 2022
1 parent 0c8c865 commit 75135b2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions syncplay/vendor/python_mpv_jsonipc/python_mpv_jsonipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ def send(self, data):
try:
self.socket.send_bytes(json.dumps(data).encode('utf-8') + b'\n')
except OSError as ex:
if len(ex.args) == 1 and ex.args[0] == "handle is closed":
raise BrokenPipeError("handle is closed")
raise ex

def run(self):
Expand Down

0 comments on commit 75135b2

Please sign in to comment.