From 65efcbb17107e8c5b600febfe1468a0503ab9f9b Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Mon, 8 Apr 2024 16:44:39 -0400 Subject: [PATCH] Removed unused conditonals --- main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.py b/main.py index d9ff388..ae50c27 100755 --- a/main.py +++ b/main.py @@ -74,7 +74,6 @@ def download_stream(channel: str) -> None: stdout=subprocess.PIPE, stderr=subprocess.STDOUT, ) - write_log(channel) def check_system() -> None: @@ -110,8 +109,6 @@ def main() -> None: # Run untill progam is killed while True: # Exits the program if there is no channels to grab - if not channel_list: - sys.exit("Please populate the channel_list.txt with one channel per line!") print("\n------------------------------------") for channel in channel_list: channel = channel.strip()