From 7b7abf62898c297a30c1ad19d8abf7353f78671f Mon Sep 17 00:00:00 2001 From: Simon <65854503+StopmotionSimonYT@users.noreply.github.com> Date: Tue, 9 Aug 2022 20:05:55 +0200 Subject: [PATCH] Using the check version in main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index bef8ff8..21e257f 100755 --- a/main.py +++ b/main.py @@ -9,6 +9,7 @@ from reddit.subreddit import get_subreddit_threads from utils.cleanup import cleanup from utils.console import print_markdown, print_step from utils import settings +from utils.version import checkversion from video_creation.background import ( download_background, @@ -36,8 +37,7 @@ print( print_markdown( "### Thanks for using this tool! [Feel free to contribute to this project on GitHub!](https://lewismenelaws.com) If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue. You can find solutions to many common problems in the [Documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/)" ) -print_step(f"You are using v{__VERSION__} of the bot") - +checkversion(__VERSION__) def main(POST_ID=None): cleanup()