def activate(self): iface_called_plugin.activate(self) self.failed_attempts = 0 self.pic_url = "" self._startCheckTimer(immediately=True)
def activate(self): iface_called_plugin.activate(self) if not os.path.isdir(self.options["picture_path"]): os.mkdir(self.options["picture_path"]) #if this throws activation will be canceled if self.options["http_server"]: self.logger.info("Starting the Raspicam HTTP Server on Port %d"%self.options["http_port"]) self.s_thread = http_server_thread(self.options["http_port"],self.options["picture_path"]) self.s_thread.start()
def activate(self): iface_called_plugin.activate(self) get_notification_center().connectPeerAppended(self.peer_update) get_notification_center().connectPeerUpdated(self.peer_update)
def activate(self): iface_called_plugin.activate(self)
def activate(self): iface_called_plugin.activate(self) self.stop = False self._startCheckTimer()