db配置文件move到config

This commit is contained in:
pengtao 2019-10-14 11:46:32 +08:00
parent 0e281fcc91
commit 56436a3538

View File

@ -49,7 +49,7 @@ class Build_Gamelog_Config():
except Exception:
log.error(f"build context failed with {line}.", exc_info=True)
with open(self.filename, 'w') as f:
f.write(f"{start}+'\n'+{content}+'\n'+{end}")
f.write(f"{start}\n{content}\n{end}")
def deploy_config(self):
ip_addr = self.get_ip_addr()