mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
优化
This commit is contained in:
@@ -80,7 +80,7 @@ def status(version):
|
||||
sock文件判断是否启动
|
||||
'''
|
||||
sock = getPhpSocket(version)
|
||||
if sock.find(':'):
|
||||
if sock.find(':')>-1:
|
||||
return status_progress(version)
|
||||
|
||||
if not os.path.exists(sock):
|
||||
|
||||
@@ -109,7 +109,7 @@ def status(version):
|
||||
sock文件判断是否启动
|
||||
'''
|
||||
sock = getPhpSocket(version)
|
||||
if sock.find(':'):
|
||||
if sock.find(':')>-1:
|
||||
return status_progress(version)
|
||||
|
||||
if not os.path.exists(sock):
|
||||
|
||||
@@ -74,7 +74,7 @@ def status(version):
|
||||
sock文件判断是否启动
|
||||
'''
|
||||
sock = getPhpSocket(version)
|
||||
if sock.find(':'):
|
||||
if sock.find(':')>-1:
|
||||
return status_progress(version)
|
||||
|
||||
if not os.path.exists(sock):
|
||||
|
||||
Reference in New Issue
Block a user