Skip to content

Commit

Permalink
修复自动版本升级Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jul 16, 2023
1 parent fe231f7 commit add98f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def auto_update(raise_error=False):
with open('./version', 'r', encoding='utf8') as f:
current_version = f.read()
current_version = json.loads(current_version)['version']
if (remote_version - current_version) >= 0.01:
if (remote_version - current_version) >= 0.01-1e-5:
from colorful import print亮黄
print亮黄(
f'\n新版本可用。新版本:{remote_version},当前版本:{current_version}{new_feature}')
Expand Down

0 comments on commit add98f4

Please sign in to comment.