From 3b32470d9c300c9ba6462ccd43825b1e21ad88fd Mon Sep 17 00:00:00 2001 From: Hellow <74311245+HeIIow2@users.noreply.github.com> Date: Fri, 13 Oct 2023 01:07:52 +0200 Subject: [PATCH] fix: reseting conf --- src/music_kraken/__main__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/music_kraken/__main__.py b/src/music_kraken/__main__.py index 0425d5d..c04d425 100644 --- a/src/music_kraken/__main__.py +++ b/src/music_kraken/__main__.py @@ -91,10 +91,8 @@ def cli(): from .utils import shared if arguments.r: - import os - if os.path.exists(shared.CONFIG_FILE): - os.remove(shared.CONFIG_FILE) - read_config() + from .utils.config import write_config + write_config() exit()