mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
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 <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
a62e66daec
commit
67cef398e1
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user