#180 hotfix proper fallback for version check

This commit is contained in:
Adam Saudagar 2023-12-15 20:33:46 +05:30
parent 04e30c2f1c
commit 0fdb285aea
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.5.21
0.5.22

View File

@ -185,7 +185,7 @@ def ping():
logging.debug(f"ping response: {response.json()}")
@fallback(None)
@fallback("0.5.21")
def get_highest_version():
response = requests.get(constants.current_version_url)
return response.content.decode()