Преглед изворни кода

typo: use 'node_id' instead of 'id'

Helge Jung пре 9 година
родитељ
комит
8e45b8568a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/ffpb.py

+ 1 - 1
modules/ffpb.py

@@ -661,7 +661,7 @@ def ffpb_ping(bot, trigger=None, target_name=None, reply_directly=True):
     if node is None:
         return None
 
-    node = __batcave.get_node(node['id'])
+    node = __batcave.get_node(node['node_id'])
 
     # derive node address from MAC
     node_mac = node.get('mac')