F is for f-strings

This commit is contained in:
Rain Clark 2024-04-05 15:11:59 -04:00
parent f987443654
commit 3ed0035dd7

11
main.py
View File

@ -6,11 +6,21 @@ import sys
import time import time
from datetime import datetime from datetime import datetime
import configparser import configparser
from pathlib import Path
import requests import requests
channel_list = [] channel_list = []
downloading = {} downloading = {}
# Config Settings
streamlink_location = "streamlink"
download_location = str(f"{Path.home()}/Downloads/Streams/")
skip_ads = False
def load_config():
pass
def write_log(channel): def write_log(channel):
"""Writes the latest stdout of a process to log.txt""" """Writes the latest stdout of a process to log.txt"""
@ -97,6 +107,7 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
""" This is executed when run from the command line """ """ This is executed when run from the command line """
try: try:
load_config()
check_system() check_system()
main() main()
finally: finally: