소스 검색

format

master
Gitea 5 년 전
부모
커밋
eaad094d8c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      video.py

+ 2
- 2
video.py 파일 보기

@@ -35,7 +35,7 @@ def convert(origin, target):
print("status:: {0}, output {1}".format(status, output))
if status ==0:
print("{0} convert {1} Success, origin dat will remove!".format(origin, target))
os.remove(origin)
os.remove(origin)
else:
print("{0} convert fail".format(origin))
#proc = sp.Popen(args, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE)
@@ -62,4 +62,4 @@ if __name__ == "__main__":
codec = sys.argv[1]
# timeout=sys.argv[2]
print("codec:: {0}".format(codec))
list_folder(DAT_FOLDER, TARGET_FOLDER, codec)
list_folder(DAT_FOLDER, TARGET_FOLDER, codec)

불러오는 중...
취소
저장