Browse Source

Substract gateways from to get coorect difference between ffhh and ffpb

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

+ 1 - 1
modules/ffpb_hamburg.py

@@ -59,7 +59,7 @@ def ffpb_hamburg(bot, trigger):
         bot.say('Bitte später nochmal fragen :)')
         return
 
-    diff_nodes = hamburg_data['nodes_active'] - stats['nodes_active']
+    diff_nodes = hamburg_data['nodes_active'] - stats['nodes_active'] - stats['gateways_active']
     diff_clients = hamburg_data['clients'] - stats['clients_unique']
 
     bot.say('Hamburg: {0} Knoten (= PB{1:+g}), {2} Clients (= PB{3:+g})'.format(