forked from M-Labs/thermostat
Use direct calling in report mode
This commit is contained in:
parent
967492642e
commit
169b89208d
@ -518,7 +518,8 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
|
||||
async def report_mode(self):
|
||||
async for report in self.client.report_mode():
|
||||
self.client_watcher.report_update.emit(report)
|
||||
self.plot(report)
|
||||
self.update_report(report)
|
||||
|
||||
async def stop_report_mode(self):
|
||||
if self.report_mode_task is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user