mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -141,7 +141,6 @@ def pSqliteDb(dbname='databases'):
|
|||||||
mw.writeFile(save_md5_file, md5_sql)
|
mw.writeFile(save_md5_file, md5_sql)
|
||||||
|
|
||||||
if not os.path.exists(file) or import_sql:
|
if not os.path.exists(file) or import_sql:
|
||||||
|
|
||||||
conn = mw.M(dbname).dbPos(getServerDir(), name)
|
conn = mw.M(dbname).dbPos(getServerDir(), name)
|
||||||
csql = mw.readFile(getPluginDir() + '/conf/mysql.sql')
|
csql = mw.readFile(getPluginDir() + '/conf/mysql.sql')
|
||||||
csql_list = csql.split(';')
|
csql_list = csql.split(';')
|
||||||
|
|||||||
Reference in New Issue
Block a user