mirror of
https://gitgud.io/Melon__Bread/auto-ttv-grabber.git
synced 2024-11-25 00:38:35 -05:00
F is for f-strings
This commit is contained in:
parent
f987443654
commit
3ed0035dd7
11
main.py
11
main.py
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user