浏览代码

update python_changetxt.py.

xdc 5 年之前
父节点
当前提交
95a536deee
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python_changetxt.py

+ 1 - 1
python_changetxt.py

@@ -44,7 +44,7 @@ def alter(file,old_str,new_str):
     f.write(file_data)
     f.close()
 code_pro = code_ori.replace("'", '')
-code = f"secret_code = '{code_pro}'"
+code = f'secret_code = "{code_pro}"'
 alter("/conf.toml", "secret_code", cod