This commit is contained in:
Mr Chen
2019-03-14 14:15:44 +08:00
parent 13e70aaa3b
commit 96829dda1f
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -601,11 +601,10 @@ class system_api:
return 'test' return 'test'
old_list = old.split('.') old_list = old.split('.')
ret = 'none' ret = 'none'
for i in range(len(old_list)): for i in range(len(old_list)):
tm_new = int(new_list[i]) tm_new = int(new_list[i])
tm_old = int(new_list[i]) tm_old = int(old_list[i])
if tm_new > tm_old: if tm_new > tm_old:
return 'new' return 'new'
return ret return ret
+1 -1
View File
@@ -1,7 +1,7 @@
[ [
{ {
"version": "0.4.2", "version": "0.4.2",
"content": "* ssh工具优化<br/>* 面板收藏功能完成<br/>* 网站子目录绑定<br/>* 网站备份", "content": "* ssh工具优化<br/>* 面板收藏功能完成<br/>* 网站子目录绑定<br/>* 网站备份<br/>* 自动更新优化",
"path": "https://github.com//midoks/mdserver-web/archive/0.4.2.zip" "path": "https://github.com//midoks/mdserver-web/archive/0.4.2.zip"
}, },
{ {