From a0a570296561b74244862206023e3029bfffb904 Mon Sep 17 00:00:00 2001 From: Callum Leslie Date: Mon, 6 Jun 2022 22:46:10 +0100 Subject: [PATCH] Remove unused variable --- tts/engine_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tts/engine_wrapper.py b/tts/engine_wrapper.py index 0465d72..56eeaf3 100644 --- a/tts/engine_wrapper.py +++ b/tts/engine_wrapper.py @@ -41,7 +41,7 @@ class TTSEngine: # This file needs to be removed in case this post does not use post text, so that it wont appear in the final video try: Path(f"{self.path}/posttext.mp3").unlink() - except OSError as e: + except OSError: pass print_step("Saving Text to MP3 files...")