From 67cef398e127bfcec6dce2b0d85162d02c2626f4 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 30 Dec 2024 22:43:53 -0800 Subject: [PATCH] miniflux: Ignore an type check error with pexpect library - Even though pexpect is set for override in pyproject.toml latest mypy==1.13.0-2 on Debian testing throws an error here. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Joseph Nuthalapati --- plinth/modules/miniflux/privileged.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/miniflux/privileged.py b/plinth/modules/miniflux/privileged.py index 4e8cb4669..09ad35cab 100644 --- a/plinth/modules/miniflux/privileged.py +++ b/plinth/modules/miniflux/privileged.py @@ -83,7 +83,7 @@ def _run_miniflux_interactively(command: str, username: str, child.sendline(password) child.expect(pexpect.EOF) - raw_message = child.before.decode() + raw_message = child.before.decode() # type: ignore try: json_message = json.loads(raw_message) except (KeyError, json.JSONDecodeError):