更新代码

This commit is contained in:
chenxudong 2025-06-27 09:04:13 +08:00
parent a664a3584f
commit fb89f0241b
1 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import time
from Common import *
class UpdateSql():
class UpdateSql:
def __init__(self, install_path):
self.root_path = install_path
self.mariadb_data_path = os.path.join(install_path, 'mariadb', 'data')
@ -36,7 +36,6 @@ class UpdateSql():
res2 = stream.read()
logger.info(res2)
os.remove(self.init_sql)
os.remove(self.mariadb_data_path)
pass
if __name__ == '__main__':