This commit is contained in:
Mr Chen
2023-12-22 04:59:19 +08:00
parent dbe2a1f0df
commit 72b16e9540
+3 -1
View File
@@ -859,7 +859,9 @@ def importDbExternal():
# print(mysql_cmd)
os.system(mysql_cmd)
os.remove(import_sql)
if ext != 'sql':
os.remove(import_sql)
return mw.returnJson(True, 'ok')