Kaynağa Gözat

adjust

master
Gitea 5 yıl önce
ebeveyn
işleme
218727e996
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +2
    -1
      video.py

+ 2
- 1
video.py Dosyayı Görüntüle

@@ -38,7 +38,8 @@ def convert(origin, target):
try:
outs, errs = proc.communicate(timeout=300)
print(outs, errs)
if answer in ret_info:
if answer in outs:
print('write y')
proc.stdin.write(b'y')
if proc.returncode == 0:
print("{0} convert {1} Success, origin dat will remove!".format(origin, target))


Yükleniyor…
İptal
Kaydet