From 719ca097659d6668b502afa37727a70db3274efa Mon Sep 17 00:00:00 2001 From: Syed Aman Raza <109358640+electro199@users.noreply.github.com> Date: Wed, 26 Oct 2022 23:51:55 +0500 Subject: [PATCH] error: solved version check error --- utils/version.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/version.py b/utils/version.py index 6ba4218..dc3eb29 100644 --- a/utils/version.py +++ b/utils/version.py @@ -10,9 +10,9 @@ def checkversion(__VERSION__:str): print_step(f"You are using the newest version ({__VERSION__}) of the bot") return True #FOR ERROR HANDLING, SO VERSION CAN EASILY BE DETECTED - elif __VERSION__> latestversion: - print_step(f"You are using the test version ({__VERSION__}) of the bot from AMAN RAZA") else: - print_step( - f"You are using an older version ({__VERSION__}) of the bot. Download the newest version ({latestversion}) from https://github.com/elebumm/RedditVideoMakerBot/releases/latest" - ) + print_step(f"You are using the test version ({__VERSION__}) of the bot from AMAN RAZA") + # else: + # print_step( + # f"You are using an older version ({__VERSION__}) of the bot. Download the newest version ({latestversion}) from https://github.com/elebumm/RedditVideoMakerBot/releases/latest" + # )