Update index.py

This commit is contained in:
midoks 2022-11-30 13:22:23 +08:00
parent d88962eb56
commit cce5598f2f
1 changed files with 1 additions and 1 deletions

View File

@ -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__":