fix check_update failed when API rate limit
This commit is contained in:
@@ -9,7 +9,7 @@ def check_update(local_version):
|
|||||||
try:
|
try:
|
||||||
remote = float(data["tag_name"])
|
remote = float(data["tag_name"])
|
||||||
local = float(local_version)
|
local = float(local_version)
|
||||||
except ValueError:
|
except:
|
||||||
print("[-] Check update failed! Skipped.")
|
print("[-] Check update failed! Skipped.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user