From 4031d5860973f0f971190b4a3f76870df5bb9504 Mon Sep 17 00:00:00 2001 From: Jaikinator Date: Wed, 5 Apr 2023 21:17:08 +0200 Subject: [PATCH] Fixed accidentally removed audio_file.export in covert audio --- autotranscript/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotranscript/__main__.py b/autotranscript/__main__.py index 9abbfd8..19d5145 100644 --- a/autotranscript/__main__.py +++ b/autotranscript/__main__.py @@ -43,10 +43,10 @@ class AudioProcessor: else: savename = savename + f'.{type}' - print(savefolder, savename) - savepath = os.path.join(savefolder, savename) + self.audio_file.export(savepath, format=type) + print(f'Converted {self.audiofilename} to {type}') if remove_orginal: