mirror of
https://gitgud.io/Melon__Bread/auto-ttv-grabber.git
synced 2024-11-24 16:28:30 -05:00
Disable broken logging
This commit is contained in:
parent
65efcbb171
commit
1ce273bc61
3
main.py
3
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:
|
||||
|
Loading…
Reference in New Issue
Block a user