mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 11:37:08 -04:00
Fix #131
This commit is contained in:
parent
f03b85726f
commit
9c15293d44
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class Config:
|
|||
self.load()
|
||||
else:
|
||||
logger.debug("Creating toml config file at '%s'", self._path)
|
||||
os.makedirs(os.path.dirname(self._path), exist_ok=True)
|
||||
shutil.copy(self.default_config_path, self._path)
|
||||
self.load()
|
||||
self.file["downloads"]["folder"] = DOWNLOADS_DIR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue