(self)
| 178 | return |
| 179 | |
| 180 | def restart_puppet(self): |
| 181 | if self.lockfile is not None and os.path.isfile(self.lockfile): |
| 182 | os.remove(self.lockfile) |
| 183 | sleep(2) |
| 184 | self.start_desktop_puppet_process() |
| 185 | GLib.timeout_add(2000, self.update_address) |
| 186 | |
| 187 | def create_gtk_widget(self) -> Gtk.Widget: |
| 188 | threading.Thread(target=self.__start_webserver).start() |
nothing calls this directly
no test coverage detected