Change way to remove sound_file_path

This commit is contained in:
Alexander Vázquez 2019-08-20 01:34:13 -05:00 committed by GitHub
parent b74e5ca254
commit 32abbb9371
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -351,7 +351,7 @@ class SceneFileWriter(object):
]
subprocess.call(commands)
shutil.move(temp_file_path, movie_file_path)
subprocess.call(["rm", sound_file_path])
os.remove(sound_file_path)
self.print_file_ready_message(movie_file_path)