소스 검색

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