Adjust logic for clarity

This commit is contained in:
Josh 2024-03-08 18:05:00 +00:00 committed by GitHub
parent ff1c01e804
commit f8ee026073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ def get_version():
if version == "master":
return "upcoming"
if version[:6] == "stable":
elif version[:6] == "stable":
return version[-2:]
else:
return "%s" % (version)