Skip to content

Commit

Permalink
Return list() instead of map() object
Browse files Browse the repository at this point in the history
otherwise it fails on py3
  • Loading branch information
KeyWeeUsr committed Nov 10, 2018
1 parent 6c2fa3d commit fb2b988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plyer/platforms/linux/wifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _start_scanning(self):
'''
import wifi
if self._is_enabled():
list_ = wifi.Cell.all('wlan0')
list_ = list(wifi.Cell.all('wlp2s0'))
for i in range(len(list_)):
self.names[list_[i].ssid] = list_[i]
else:
Expand Down

0 comments on commit fb2b988

Please sign in to comment.