mirror of
https://github.com/prusnak/suez.git
synced 2026-08-18 13:08:51 +02:00
fix style
This commit is contained in:
parent
639121b457
commit
c19cedb715
1 changed files with 3 additions and 1 deletions
|
|
@ -73,7 +73,9 @@ class ClnClient:
|
|||
chan.local_alias = self.local_alias
|
||||
listnode = self._run("listnodes", chan.remote_node_id)
|
||||
if len(listnode["nodes"]) > 0:
|
||||
chan.remote_alias = listnode["nodes"][0].get("alias", chan.remote_node_id)
|
||||
chan.remote_alias = listnode["nodes"][0].get(
|
||||
"alias", chan.remote_node_id
|
||||
)
|
||||
else:
|
||||
chan.remote_alias = chan.remote_node_id
|
||||
chan.last_forward = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue