error: solved version check error

pull/1288/head
Syed Aman Raza 3 years ago committed by GitHub
parent 8617136499
commit 719ca09765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,9 +10,9 @@ def checkversion(__VERSION__:str):
print_step(f"You are using the newest version ({__VERSION__}) of the bot") print_step(f"You are using the newest version ({__VERSION__}) of the bot")
return True return True
#FOR ERROR HANDLING, SO VERSION CAN EASILY BE DETECTED #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: else:
print_step( print_step(f"You are using the test version ({__VERSION__}) of the bot from AMAN RAZA")
f"You are using an older version ({__VERSION__}) of the bot. Download the newest version ({latestversion}) from https://github.com/elebumm/RedditVideoMakerBot/releases/latest" # 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"
# )

Loading…
Cancel
Save