From 1ce273bc6102e2db53cce0c16f6c577c7697b715 Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Mon, 8 Apr 2024 16:46:18 -0400 Subject: [PATCH] Disable broken logging --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ae50c27..e913da4 100755 --- a/main.py +++ b/main.py @@ -49,6 +49,7 @@ def load_config() -> None: print("Config file loaded") +# TODO: Log better and properly def write_log(channel: str) -> None: """Writes the latest stdout of a process to log.txt""" with open("log.txt", "a") as log: @@ -122,7 +123,7 @@ def main() -> None: download_stream(channel) else: print(f"{channel} is already downloading") - write_log(channel) + # write_log(channel) else: print("\033[1m" + channel + "\033[0m is \033[31mnot live\033[0m.") if channel in downloading: