From 4bd2d121ae0244f6f93058dfe11f29d9f7a3d62e Mon Sep 17 00:00:00 2001 From: Andrew Beveridge Date: Sun, 17 Dec 2023 23:42:44 -0600 Subject: [PATCH] Fixed accidental return --- karaoke_prep/karaoke_prep.py | 1 - pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/karaoke_prep/karaoke_prep.py b/karaoke_prep/karaoke_prep.py index 1eee3c9..b842fb9 100644 --- a/karaoke_prep/karaoke_prep.py +++ b/karaoke_prep/karaoke_prep.py @@ -189,7 +189,6 @@ def sanitize_filename(self, filename): return filename def separate_audio(self, audio_file, model_name, instrumental_path, vocals_path): - return if audio_file is None or not os.path.isfile(audio_file): raise Exception("Error: Invalid audio source provided.") diff --git a/pyproject.toml b/pyproject.toml index 959821e..64aeffd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "karaoke-prep" -version = "0.4.0" +version = "0.4.1" description = "Prepare for karaoke video creation, by downloading audio and lyrics for a specified song or youtube playlist and separatung audio stems." authors = ["Andrew Beveridge "] license = "MIT"