From: kaliko Date: Sun, 1 Sep 2024 17:58:16 +0000 (+0200) Subject: Improve documentation X-Git-Url: http://git.kaliko.me/?a=commitdiff_plain;h=fff1bd32a5da49b76e31bb66dc5d2eb349e49f9a;p=python-musicpdaio.git Improve documentation --- diff --git a/doc/source/development.rst b/doc/source/development.rst index a8d8c29..8c44bcd 100644 --- a/doc/source/development.rst +++ b/doc/source/development.rst @@ -1,4 +1,9 @@ -Developement -============ +Development +=========== Developement is done at the `codeberg forge`_. + +Running test +^^^^^^^^^^^^ + +`python3 -m unittest discover -s tests` diff --git a/mpdaio/client.py b/mpdaio/client.py index 9b53d6e..3898fa5 100644 --- a/mpdaio/client.py +++ b/mpdaio/client.py @@ -110,7 +110,7 @@ class MPDClient: @property def version(self) -> str: - """MPD protocol version + """MPD protocol version (returns an empty string if there is no opened connection) """ host = (self.host, self.port) version = {_.version for _ in self.connections}