Add the terminated status in the gui

This commit is contained in:
DevilXD committed 2022-08-19 10:18:41 +02:00
1 parent 05466364d1
commit 5b1089e3cc
4 files changed
+9 -5

No files matched your search

+2 -2
View File
@@ -88,7 +88,7 @@ class Twitch:
async def shutdown(self) -> None:
start_time = time()
self.gui.print(_("status", "exiting"))
self.gui.print(_("gui", "status", "exiting"))
self.stop_watching()
if self._watching_task is not None:
self._watching_task.cancel()
@@ -394,7 +394,7 @@ class Twitch:
# break the state change chain by clearing the flag
self._state_change.clear()
elif self._state is State.EXIT:
self.gui.status.update(_("status", "exiting"))
self.gui.status.update(_("gui", "status", "exiting"))
# we've been requested to exit the application
break
await self._state_change.wait()