This commit is contained in:
atse 2023-08-16 13:12:03 +08:00
parent aeecde09af
commit 68503d19e5
1 changed files with 0 additions and 4 deletions

View File

@ -138,9 +138,6 @@ class ClientWatcher(QObject):
def start_watching(self): def start_watching(self):
self._watch_task = asyncio.create_task(self.run()) self._watch_task = asyncio.create_task(self.run())
def is_watching(self):
return self._watch_task is not None
@pyqtSlot() @pyqtSlot()
def stop_watching(self): def stop_watching(self):
if self._watch_task is not None: if self._watch_task is not None:
@ -161,7 +158,6 @@ class ClientWatcher(QObject):
async for report in self._client.report_mode(): async for report in self._client.report_mode():
self.report_update.emit(report) self.report_update.emit(report)
@pyqtSlot(float) @pyqtSlot(float)
def set_update_s(self, update_s): def set_update_s(self, update_s):
self._update_s = update_s self._update_s = update_s