diff --git a/src/vorta/network_status/darwin.py b/src/vorta/network_status/darwin.py index 1ee2baf1..ec1fd424 100644 --- a/src/vorta/network_status/darwin.py +++ b/src/vorta/network_status/darwin.py @@ -11,6 +11,11 @@ class DarwinNetworkStatus(NetworkStatusMonitor): def is_network_metered(self) -> bool: interface: CWInterface = self._get_wifi_interface() + + # If there is no Wifi at all. + if interface is None: + return False + network: Optional[CWNetwork] = interface.lastNetworkJoined() if network: