mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-07 21:04:35 +00:00
remove redundant stuff
This commit is contained in:
@@ -32,9 +32,7 @@ class ConsoleOutputManager:
|
||||
timestamp = datetime.now().strftime("%H:%M:%S")
|
||||
line = f"[{timestamp}] {message}"
|
||||
self._buffer.append(line)
|
||||
asyncio.create_task(
|
||||
self._broadcaster.emit("console_output", {"message": line})
|
||||
)
|
||||
asyncio.create_task(self._broadcaster.emit("console_output", {"message": line}))
|
||||
|
||||
def get_history(self) -> list[str]:
|
||||
"""Get the current console history buffer.
|
||||
|
||||
Reference in New Issue
Block a user