Spaces:
Runtime error
Runtime error
UP
Browse files- check_proxy.py +1 -1
check_proxy.py
CHANGED
@@ -113,7 +113,7 @@ def auto_update():
|
|
113 |
with open('./version', 'r', encoding='utf8') as f:
|
114 |
current_version = f.read()
|
115 |
current_version = json.loads(current_version)['version']
|
116 |
-
if (remote_version - current_version) >= 0.
|
117 |
from colorful import print亮黄
|
118 |
print亮黄(
|
119 |
f'\n新版本可用。新版本:{remote_version},当前版本:{current_version}。{new_feature}')
|
|
|
113 |
with open('./version', 'r', encoding='utf8') as f:
|
114 |
current_version = f.read()
|
115 |
current_version = json.loads(current_version)['version']
|
116 |
+
if (remote_version - current_version) >= 0.01:
|
117 |
from colorful import print亮黄
|
118 |
print亮黄(
|
119 |
f'\n新版本可用。新版本:{remote_version},当前版本:{current_version}。{new_feature}')
|