FluxFinance commited on
Commit
a10abee
Β·
verified Β·
1 Parent(s): 6f68ea8

Update Advisernote.py

Browse files
Files changed (1) hide show
  1. Advisernote.py +1 -1
Advisernote.py CHANGED
@@ -27,7 +27,7 @@ import sqlite3
27
  # 1. 인증 및 Secrets 톡합 λ‘œλ“œ
28
  creds_json_str = st.secrets.get("GCP_CREDENTIALS")
29
  if creds_json_str:
30
- creds_json_str = creds_json_str.replace("'", '"') # πŸ‘ˆ [핡심] μž‘μ€λ”°μ˜΄ν‘œλ₯Ό ν°λ”°μ˜΄ν‘œλ‘œ λͺ°λž˜ 볡ꡬ!
31
  with open("credentials.json", "w") as f:
32
  f.write(creds_json_str)
33
  os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "credentials.json"
 
27
  # 1. 인증 및 Secrets 톡합 λ‘œλ“œ
28
  creds_json_str = st.secrets.get("GCP_CREDENTIALS")
29
  if creds_json_str:
30
+ # ❌ 기쑴의 replace μ½”λ“œλŠ” μ™„μ „νžˆ μ‚­μ œλ˜μ—ˆμŠ΅λ‹ˆλ‹€.
31
  with open("credentials.json", "w") as f:
32
  f.write(creds_json_str)
33
  os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "credentials.json"