error: solved version check error
This commit is contained in:
1 parent
8617136499
commit
719ca09765
1 file changed
+5
-5
+5
-5
@@ -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"
|
||||
# )
|
||||
Reference in new issue
Block a user