Open ai2010 opened 5 years ago
Hi I modified the wifi.py to stop after a certain time , specifically the loop function
def loop(self,timeloop=None): if timeloop: self.thread = threading.Thread(target=asyncore.loop, kwargs={'timeout': 1}) self.thread.setDaemon(True) self.thread.start() time.sleep(timeloop) self.local_wifi_server.close() self.thread.join(timeout=1) return else: asyncore.loop()
I hope it can be useful to someone
Hi I modified the wifi.py to stop after a certain time , specifically the loop function
I hope it can be useful to someone