From a110f49e4494172b0f4d0a35a978dccdb94c8063 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Tue, 5 Jul 2022 21:04:01 +0100 Subject: [PATCH] refactor: use new settings option --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 8fc3b59..7b7c726 100755 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ from os import name from reddit.subreddit import get_subreddit_threads from utils.cleanup import cleanup from utils.console import print_markdown, print_step -from utils.settings import check_toml +from utils import settings # from utils.checker import envUpdate from video_creation.background import download_background, chop_background_video @@ -52,7 +52,7 @@ def run_many(times): if __name__ == "__main__": - config = check_toml(".config.template.toml", "config.toml") + config = settings.check_toml(".config.template.toml", "config.toml") config is False and exit() try: if config["settings"]["times_to_run"]: