Commit fb3e4ac2 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix AI

parent 6305a6e2
...@@ -226,7 +226,7 @@ export class YGOProComponent implements OnInit { ...@@ -226,7 +226,7 @@ export class YGOProComponent implements OnInit {
save_system_conf(data: SystemConf) { save_system_conf(data: SystemConf) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
fs.writeFile(this.system_conf, ini.stringify(data, <EncodeOptions>{whitespace: true}), (error) => { fs.writeFile(this.system_conf, ini.unsafe(ini.stringify(data, <EncodeOptions>{whitespace: true})), (error) => {
if (error) return reject(error); if (error) return reject(error);
resolve(data); resolve(data);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment