Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
nathom 2021-07-01 16:45:40 -07:00
parent 81751cc2a1
commit 2fd59ac1ef
2 changed files with 5 additions and 2 deletions

View file

@ -86,6 +86,9 @@ class Config:
os.makedirs(CONFIG_DIR, exist_ok=True)
shutil.copy(self.default_config_path, self._path)
self.load()
self.file["downloads"]["folder"] = DOWNLOADS_DIR
self.save()
def load(self):
"""Load infomation from the config files, making a deepcopy."""