This commit is contained in:
nathom 2021-07-31 09:28:07 -07:00
parent f03b85726f
commit 9c15293d44

View file

@ -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