mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-19 12:37:30 +02:00
fix: properly check for stderr from process
This commit is contained in:
parent
f141f2fc46
commit
565727ac49
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ async def _make_local_call(cmd: str):
|
|||
)
|
||||
stdout, stderr = await proc.communicate()
|
||||
|
||||
if stderr != None:
|
||||
if stderr != None and stderr != b"":
|
||||
err = stderr.decode()
|
||||
if "lightning-cli: Connecting to 'lightning-rpc': Permission denied" in err:
|
||||
logging.critical(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue