Using the check version in main.py

pull/1135/head
Simon 3 years ago committed by GitHub
parent 574d290f6e
commit b6eaa6e2d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()

Loading…
Cancel
Save