Fix: Remove 'markup=True' from Text initialization due to TypeError.

This commit is contained in:
2025-10-29 13:00:11 +01:00
parent b29290d6ba
commit 81a8e3a56b

View File

@@ -96,7 +96,7 @@ def main():
# Display initial messages using rich.Live for a few seconds
with Live(console=console, screen=True, refresh_per_second=4) as live:
live.update(Text(f"[green]Found live chat ID: {live_chat_id}[/green]\n[green]Chat will be logged to {log_filename}[/green]", justify="center", markup=True))
live.update(Text(f"[green]Found live chat ID: {live_chat_id}[/green]\n[green]Chat will be logged to {log_filename}[/green]", justify="center"))
time.sleep(5)
next_page_token = None