~naglis/aio_mpv_ipc

522e58af839fd4650b18267c0449c3f5ed79afc3 — Naglis Jonaitis 1 year, 3 months ago ede8aa3
Catch FileNotFoundError as well
2 files changed, 2 insertions(+), 2 deletions(-)

M aio_mpv_ipc/_client.py
M pyproject.toml
M aio_mpv_ipc/_client.py => aio_mpv_ipc/_client.py +1 -1
@@ 106,7 106,7 @@ class MpvClient:
                    self._socket_path
                )
                break
            except ConnectionRefusedError as exc:
            except (ConnectionRefusedError, FileNotFoundError) as exc:
                if attempt >= self._max_connect_attempts:
                    raise IPCConnectionException("Failed to connect to mpv") from exc
                logger.debug(

M pyproject.toml => pyproject.toml +1 -1
@@ 1,6 1,6 @@
[tool.poetry]
name = "aio-mpv-ipc"
version = "0.0.1a1"
version = "0.0.1a2"
description = "Asynchronous MPV IPC client"
authors = ["Naglis Jonaitis <hello@naglis.me>"]
license = "Apache-2.0"