Update index.py

pull/205/head
midoks 3 years ago
parent 17a865c45d
commit 49c32dc9c1
  1. 2
      plugins/gogs/index.py

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

Loading…
Cancel
Save