Better netgear logging

This commit is contained in:
Paulus Schoutsen committed 2016-03-14 21:12:42 -07:00
1 parent 663e4d57d9
commit cde05b91ce
1 file changed
+6 -1
@@ -89,4 +89,9 @@ class NetgearDeviceScanner(object):
with self.lock:
_LOGGER.info("Scanning")
self.last_results = self._api.get_attached_devices() or []
results = self._api.get_attached_devices()
if results is None:
_LOGGER.warning('Error scanning devices')
self.last_results = results or []