diff --git a/automon/integrations/mac/airport/ssid.py b/automon/integrations/mac/airport/ssid.py index 41a7832d..df4f1500 100644 --- a/automon/integrations/mac/airport/ssid.py +++ b/automon/integrations/mac/airport/ssid.py @@ -37,7 +37,7 @@ def __init__(self, ssid: dict): self.SSID = self.SSID_STR self.WPS_STATE = self.IE_KEY_WPS_SC_STATE - log.debug(f'{self.summary}') + self.summary def __repr__(self): return f'{self.summary}' @@ -52,9 +52,12 @@ def __lt__(self, other): @property def summary(self): - return f'[rssi: {self.DISTANCE} dBm] ' \ - f'{self.SSID} ' \ - f'[ch: {self.CHANNEL}] ' \ - f'[bssid: {self.MAC}] ' \ - f'[noise: {self.NOISE}] ' \ - f'[age: {self.AGE}] ' + summary = f'[rssi: {self.DISTANCE} dBm] ' \ + f'{self.SSID} ' \ + f'[ch: {self.CHANNEL}] ' \ + f'[bssid: {self.MAC}] ' \ + f'[noise: {self.NOISE}] ' \ + f'[age: {self.AGE}] ' + + log.debug(f'{summary}') + return summary