From bc035689496ecf9a374af430c13e456b1edde1d0 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 12 Sep 2023 12:45:50 +0200 Subject: [PATCH] made use of not having to restart on config --- src/music_kraken/cli/main_downloader.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/music_kraken/cli/main_downloader.py b/src/music_kraken/cli/main_downloader.py index acca5c4..4c3a106 100644 --- a/src/music_kraken/cli/main_downloader.py +++ b/src/music_kraken/cli/main_downloader.py @@ -401,11 +401,8 @@ def download( main_settings["hasnt_yet_started"] = False write_config() print("Restart the programm to use it.") - return code - - print("Something went wrong configuring.") - return code - + else: + print("Something went wrong configuring.") shell = Downloader(genre=genre, process_metadata_anyway=process_metadata_anyway)