medical-kiban commited on
Commit
bf73759
ยท
1 Parent(s): 8c19994

no message

Browse files
Files changed (1) hide show
  1. app/app.py +3 -2
app/app.py CHANGED
@@ -120,8 +120,7 @@ def get_oauth_credentials():
120
  # ๋‹ค์Œ ์‹คํ–‰์„ ์œ„ํ•ด ์ƒˆ๋กœ ๋ฐœ๊ธ‰๋ฐ›๊ฑฐ๋‚˜ ๊ฐฑ์‹ ๋œ ์ธ์ฆ ์ •๋ณด๋ฅผ token.json ํŒŒ์ผ์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
121
  with open(TOKEN_FILENAME, 'w') as token:
122
  token.write(creds.to_json())
123
- print("----------------------")
124
- print(creds.to_json())
125
  return creds
126
 
127
 
@@ -133,6 +132,8 @@ def check_room_free_slots_over_1h(date_str=None):
133
  # --- ์ธ์ฆ ๋ฐ ์„œ๋น„์Šค ๋นŒ๋“œ ---
134
  try:
135
  creds = get_oauth_credentials()
 
 
136
  service = build('calendar', 'v3', credentials=creds)
137
  except Exception as e:
138
  print(f"่ช่จผใ‚จใƒฉใƒผ: {e}")
 
120
  # ๋‹ค์Œ ์‹คํ–‰์„ ์œ„ํ•ด ์ƒˆ๋กœ ๋ฐœ๊ธ‰๋ฐ›๊ฑฐ๋‚˜ ๊ฐฑ์‹ ๋œ ์ธ์ฆ ์ •๋ณด๋ฅผ token.json ํŒŒ์ผ์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
121
  with open(TOKEN_FILENAME, 'w') as token:
122
  token.write(creds.to_json())
123
+
 
124
  return creds
125
 
126
 
 
132
  # --- ์ธ์ฆ ๋ฐ ์„œ๋น„์Šค ๋นŒ๋“œ ---
133
  try:
134
  creds = get_oauth_credentials()
135
+ print("-----------------------")
136
+ print(creds.to_json())
137
  service = build('calendar', 'v3', credentials=creds)
138
  except Exception as e:
139
  print(f"่ช่จผใ‚จใƒฉใƒผ: {e}")