From fff1bd32a5da49b76e31bb66dc5d2eb349e49f9a Mon Sep 17 00:00:00 2001 From: kaliko Date: Sun, 1 Sep 2024 19:58:16 +0200 Subject: [PATCH] Improve documentation --- doc/source/development.rst | 9 +++++++-- mpdaio/client.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) 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} -- 2.39.5