Ver código fonte

find_node: get full node details

BatcaveClient.find_node_* only return short result
Helge Jung 9 anos atrás
pai
commit
4296ee6ffe
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      modules/ffpb.py

+ 1 - 1
modules/ffpb.py

@@ -411,7 +411,7 @@ def ffpb_findnode(name, allow_fuzzymatching=True):
     # try to find by NAME
     node = __batcave.find_node_by_name(name, fuzzymatch=allow_fuzzymatching)
     if node is not None:
-        return node
+        return __batcave.get_node(node['id'])
 
     # not found in ALFRED data -> try peers_repo
     if not peers_repo is None: