Browse Source

Some nodes are missing the client key

Michael Schwarz 9 years ago
parent
commit
d4305863ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/ffpb.py

+ 1 - 1
modules/ffpb.py

@@ -576,7 +576,7 @@ def ffpb_fetch_stats(bot, url, memoryid):
     clients_count = 0
 
     for node in data['nodes']:
-        if node['flags']['gateway'] or node['flags']['client']:
+        if node['flags']['gateway'] or (node['flags'].has_key('client') and node['flags']['client']):
             continue
 
         nodes_total += 1