mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix mistaken qconnect replacement
This commit is contained in:
parent
20ee0a8b1b
commit
4033f6d37e
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class MPVBase:
|
|||
# unix socket
|
||||
try:
|
||||
self._sock = socket.socket(socket.AF_UNIX)
|
||||
qconnect(self._sock, self._sock_filename)
|
||||
self._sock.connect(self._sock_filename)
|
||||
except (FileNotFoundError, ConnectionRefusedError):
|
||||
self._sock.close()
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue