Browse Source

fix text2zip.py

tomoya 1 month ago
parent
commit
3f388b8176
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/app/app/api/api_v1/endpoints/text2zip.py

+ 1 - 1
backend/app/app/api/api_v1/endpoints/text2zip.py

@@ -285,7 +285,7 @@ async def wait_finish(video_data:dict):
                         state: failure'     
         }
         data = requests.post(LINE_URL, headers=headers, data=data) 
-        send_simple_email(email_to=video_data['email'], video_path=f'http://172.104.93.163:30080/{video_data['stored_filename']}.mp4')
+        send_simple_email(email_to=video_data['email'], video_path=f"http://172.104.93.163:30080/{video_data['stored_filename']}.mp4")
         
 def send_simple_email(email_to: str, video_path: str):
     if video_path==None: