Update index.py
This commit is contained in:
parent
d88962eb56
commit
cce5598f2f
|
|
@ -703,7 +703,7 @@ def uninstallPreInspection():
|
|||
return 'ok'
|
||||
dir_list = os.listdir(repo_dir)
|
||||
if len(dir_list) > 0:
|
||||
return "有项目!请手动删除Gitea<br/> rm -rf {}".format(getServerDir())
|
||||
return "有项目数据!请手动删除Gitea<br/> rm -rf {}".format(getServerDir())
|
||||
return 'ok'
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue