diff --git a/report_receiver.py b/report_receiver.py index 971bc1f..486c60b 100644 --- a/report_receiver.py +++ b/report_receiver.py @@ -70,8 +70,8 @@ class reportClient(NetstringReceiver): def bridgeSend(self,data): self.BRIDGES = pickle.loads(data) if cli_args.STATS: - print('There are currently {} active bridges in the bridge table:\n\n'.format(len(self.BRIDGES))) - for _bridge in self.BRIDGES: + print('There are currently {} active bridges in the bridge table:\n'.format(len(self.BRIDGES))) + for _bridge in keys(self.BRIDGES): print('{},'.format({_bridge})) else: