kenken999 commited on
Commit
69c58ee
1 Parent(s): 558afa5
Files changed (1) hide show
  1. mysite/routers/fastapi.py +2 -2
mysite/routers/fastapi.py CHANGED
@@ -329,8 +329,8 @@ def setup_webhook_routes(app: FastAPI):
329
  text=True,
330
  shel=True
331
  )
332
-
333
- thread_name = send_google_chat_card_thread(webhook_url, title, proc, link_text, link_url,thread_name)
334
 
335
  #prompt_res_agi = completion("日本語で下記のプランを考えて "+res)
336
  #thread_name = send_google_chat_card_thread(webhook_url, title, prompt_res_agi, link_text, link_url,thread_name)
 
329
  text=True,
330
  shel=True
331
  )
332
+ stdout, stderr = proc.communicate()
333
+ thread_name = send_google_chat_card_thread(webhook_url, title, stdout, link_text, link_url,thread_name)
334
 
335
  #prompt_res_agi = completion("日本語で下記のプランを考えて "+res)
336
  #thread_name = send_google_chat_card_thread(webhook_url, title, prompt_res_agi, link_text, link_url,thread_name)