瀏覽代碼

change call anchor log

ming 3 年之前
父節點
當前提交
d412b74311
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      api/routers/toolAvatarVoiceOnly.py

+ 2 - 3
api/routers/toolAvatarVoiceOnly.py

@@ -81,12 +81,11 @@ def call_anchor(name_hash,avatar):
     ros.chdir('/home/jared/to_video')
     ros.system('./p'+str(avatar)+'.sh '+str(val)+' &')
     while True:
-        print('waiting...')
+        print('waiting...',val,',nh:',name_hash)
         if ros.path.exists('/tmp/results/'+str(val)):
             break
         time.sleep(5)
-        print('waiting...')
-
+        
     fr=conn.builtins.open('/tmp/results/'+str(val)+'.mp4','rb')
     fw=open(dir_anchor+name_hash+".mp4",'wb')
     while True: