ming 3 лет назад
Родитель
Сommit
5334078a15
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      api/main.py

+ 1 - 1
api/main.py

@@ -1179,7 +1179,7 @@ def gen_video_queue_eng(name_hash,name,text_content, image_urls,sub_titles,avata
             c._config['sync_request_timeout'] = None
             remote_svc = c.root
             my_answer = remote_svc.call_video_eng(top1['name_hash'],top1['name'],top1['text_content'].split(','), top1['image_urls'].split(','),top1['subtitles'].split(','),top1['avatar'],top1['freeTrial']) # method call
-            shutil.copy(tmp_video_dir+top1['name']+'.mp4',video_dest+top1['name_hash']+'.mp4')
+            shutil.copy(tmp_video_dir+top1['name_hash']+'.mp4',video_dest+top1['name_hash']+'.mp4')
             os.remove(tmp_video_dir+top1['name_hash']+'.mp4')
             notify_group(top1['name']+"(ENG)的影片已經產生完成囉! www.choozmo.com:8168/"+video_sub_folder+['name_hash']+".mp4")
         except Exception as e: