Пример #1
0
Файл: wifi.py Проект: kivy/plyer
 def _start_scanning(self):
     """
     Starts scanning for available Wi-Fi networks and returns the available,
     devices.
     """
     if self._is_enabled():
         self.names = wifi_lib.start_scanning()
     else:
         raise Exception("Wifi not Enabled.")
Пример #2
0
 def _start_scanning(self):
     '''
     Starts scanning for available Wi-Fi networks and returns the available,
     devices.
     '''
     if self._is_enabled():
         self.names = wifi_lib.start_scanning()
     else:
         raise Exception('Wifi not Enabled.')
Пример #3
0
 def _start_scanning(self):
     '''
     Starts scanning for available Wi-Fi networks and returns the available,
     devices.
     '''
     self.names = wifi_lib.start_scanning()