mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-13 06:34:45 -04:00
parent
81751cc2a1
commit
2fd59ac1ef
2 changed files with 5 additions and 2 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue