From 2beaaa0fce51bc953aab267f1b0fb9ab4a8c1ecb Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 13 Jul 2020 22:58:12 -0500 Subject: Document exception that could be thrown if socket_path is not found --- lirc/lirc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lirc/lirc.py b/lirc/lirc.py index f0ab749..a60c869 100644 --- a/lirc/lirc.py +++ b/lirc/lirc.py @@ -30,6 +30,8 @@ class Lirc: :param socket: The socket.socket used to connect to the lircd socket. :param socket_timeout: The amount of time to wait before timing out when receiving data. + + :raises FileNotFoundError: If the socket path is not found. """ self.__lock = threading.Lock() self.__socket = socket -- cgit v1.2.3