mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
#180 hotfix proper fallback for version check
This commit is contained in:
parent
04e30c2f1c
commit
0fdb285aea
@ -1 +1 @@
|
|||||||
0.5.21
|
0.5.22
|
@ -185,7 +185,7 @@ def ping():
|
|||||||
logging.debug(f"ping response: {response.json()}")
|
logging.debug(f"ping response: {response.json()}")
|
||||||
|
|
||||||
|
|
||||||
@fallback(None)
|
@fallback("0.5.21")
|
||||||
def get_highest_version():
|
def get_highest_version():
|
||||||
response = requests.get(constants.current_version_url)
|
response = requests.get(constants.current_version_url)
|
||||||
return response.content.decode()
|
return response.content.decode()
|
Loading…
Reference in New Issue
Block a user