added a way to delete the file config
parent
dde1d50954
commit
4fc38c53ba
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue