kenken999 commited on
Commit
09731f9
1 Parent(s): 0872300
Files changed (1) hide show
  1. routers/webhook.py +7 -7
routers/webhook.py CHANGED
@@ -135,13 +135,13 @@ async def webhook(request: Request):
135
 
136
  #
137
  if DEBUG==0:
138
- proc = subprocess.Popen(
139
- ["make", "runbabyagi", thread_name],
140
- stdin=subprocess.PIPE,
141
- stdout=subprocess.PIPE,
142
- stderr=subprocess.PIPE,
143
- text=True,
144
- )
145
 
146
  logger.info("Received Headers: %s", received_headers)
147
  logger.info("Received Body: %s", body.decode("utf-8"))
 
135
 
136
  #
137
  if DEBUG==0:
138
+ proc = subprocess.Popen(
139
+ ["make", "runbabyagi", thread_name],
140
+ stdin=subprocess.PIPE,
141
+ stdout=subprocess.PIPE,
142
+ stderr=subprocess.PIPE,
143
+ text=True,
144
+ )
145
 
146
  logger.info("Received Headers: %s", received_headers)
147
  logger.info("Received Body: %s", body.decode("utf-8"))