Return list() instead of map() object
otherwise it fails on py3
@@ -33,7 +33,7 @@ class LinuxWifi(Wifi):
'''
import wifi
if self._is_enabled():
- list_ = wifi.Cell.all('wlan0')
+ list_ = list(wifi.Cell.all('wlan0'))
for i in range(len(list_)):
self.names[list_[i].ssid] = list_[i]
else:
