Disable broken logging

This commit is contained in:
Rain Clark 2024-04-08 16:46:18 -04:00
parent 65efcbb171
commit 1ce273bc61

View File

@ -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: