diff --git a/config.py b/config.py index b9bf093..051b2f1 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,5 @@ import os +import shutil import sys import pathlib import pickle @@ -125,5 +126,5 @@ def search_folder(field): if __name__ == "__main__": if "--restart" in sys.argv: if __get_config(): - os.removedirs(__get_config_folder()) + shutil.rmtreee(__get_config_folder()) print(get_config())