Update index.py

This commit is contained in:
midoks 2023-10-30 15:38:42 +08:00
parent 2de9b736f5
commit c925e09ea6
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ def repoList():
return mw.returnJson(False, "请先安装初始化!<br/>默认地址:http://" + mw.getLocalIp() + ":3000")
conf = getDbConfValue()
gtype = getGogsDbType(conf)
gtype = getGiteaDbType(conf)
if gtype != 'mysql':
return mw.returnJson(False, "仅支持mysql数据操作!")