소스 검색

add exception message

ming 3 년 전
부모
커밋
5c45df7cf7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -115,7 +115,7 @@ async def make_anchor_video_v2(req:request):
         if re.search('[a-zA-Z]', txt) !=None:
             return {'msg':'輸入字串不能包含英文字!'}
     
-    for imgu in image_urls:
+    for imgu in req.image_urls:
         try:
             if get_url_type(imgu) =='video/mp4':
                 r=requests.get(imgu)