From eaad094d8ce1b06b7f5f9bc239711dee3e198000 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 16 Jan 2020 10:13:32 +0800 Subject: [PATCH] format --- video.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video.py b/video.py index 76c7758..73d16fb 100644 --- a/video.py +++ b/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) \ No newline at end of file