error: solved version check error

This commit is contained in:
Syed Aman Raza authored and GitHub committed 2022-10-26 23:51:55 +05:00
1 parent 8617136499
commit 719ca09765
1 file changed
+5 -5
+5 -5
View File
@@ -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"
# )