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
from datetime import datetime
import configparser
from pathlib import Path
import requests
channel_list = []
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):
"""Writes the latest stdout of a process to log.txt"""
@ -97,6 +107,7 @@ def main():
if __name__ == "__main__":
""" This is executed when run from the command line """
try:
load_config()
check_system()
main()
finally: