From b6bdd4e896256b5fe61cb755389c6bcac1aecb2d Mon Sep 17 00:00:00 2001 From: heddxh <63106571+heddxh@users.noreply.github.com> Date: Mon, 29 Apr 2024 08:59:42 +0800 Subject: [PATCH] Fix typo in _plugin.py --- yin_yang/plugins/_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yin_yang/plugins/_plugin.py b/yin_yang/plugins/_plugin.py index a8b98d5..9960842 100644 --- a/yin_yang/plugins/_plugin.py +++ b/yin_yang/plugins/_plugin.py @@ -279,7 +279,7 @@ def call(self) -> QDBusMessage: return self.connection.call(self.message) def list_paths(self, service: str, path: str) -> List[str]: - """ Get all subpath under given pth of service + """ Get all subpath under a given pth of service :path: should start with / but without / on its end """ assert path.startswith('/') and not path.endswith('/'), "list_paths wrong, :path: should start with / but without / on its end"