Removed unused conditonals

This commit is contained in:
Rain Clark 2024-04-08 16:44:39 -04:00
parent e07dd0c5cd
commit 65efcbb171

View File

@ -74,7 +74,6 @@ def download_stream(channel: str) -> None:
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, stderr=subprocess.STDOUT,
) )
write_log(channel)
def check_system() -> None: def check_system() -> None:
@ -110,8 +109,6 @@ def main() -> None:
# Run untill progam is killed # Run untill progam is killed
while True: while True:
# Exits the program if there is no channels to grab # 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------------------------------------") print("\n------------------------------------")
for channel in channel_list: for channel in channel_list:
channel = channel.strip() channel = channel.strip()