Compare commits

..

No commits in common. '723c834f121ff4eef2dec7afe521071a7efff1a9' and '591aaab99a51f75b5584da4cdc15c419009a619d' have entirely different histories.

  1. 8
      utils.py

8
utils.py

@ -67,12 +67,12 @@ class config_get(object): @@ -67,12 +67,12 @@ class config_get(object):
def get_config_path():
ql_old = "/ql/config/"
ql_new = "/ql/data/config/"
if os.path.isdir(ql_new):
print('成功 当前环境为青龙面板v2.12+ 继续执行\n')
return ql_new
elif os.path.isdir(ql_old):
if os.path.isdir(ql_old):
print('成功 当前环境为青龙面板v2.12- 继续执行\n')
return ql_old
elif os.path.isdir(ql_new):
print('成功 当前环境为青龙面板v2.12+ 继续执行\n')
return ql_new
else:
print('失败 请检查环境')
exit(0)

Loading…
Cancel
Save