Using the check version in main.py

This commit is contained in:
Simon authored and Callum Leslie committed 2022-08-09 18:15:21 +00:00
1 parent 0050655499
commit 7b7abf6289
1 file changed
+2 -2
+2 -2
View File
@@ -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()