mirror of
https://gitgud.io/Melon__Bread/auto-ttv-grabber.git
synced 2024-11-25 00:38:35 -05:00
Removed unused conditonals
This commit is contained in:
parent
e07dd0c5cd
commit
65efcbb171
3
main.py
3
main.py
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user