Fix redundant code report mode

This commit is contained in:
atse 2023-08-16 12:47:43 +08:00
parent d7863e5dbd
commit 898a6891cf
1 changed files with 0 additions and 2 deletions

View File

@ -575,8 +575,6 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self.report_mode_task = asyncio.create_task(self.report_mode())
else:
self.client.stop_report_mode()
await self.report_mode_task
self.report_mode_task = None
async def report_mode(self):
async for report in self.client.report_mode():