Replace some usages of config.{rootdir,inifile} with config.{rootpath,inipath}

This commit is contained in:
Ran Benita
2020-08-06 14:46:24 +03:00
parent a346028006
commit 62e249a1f9
10 changed files with 125 additions and 107 deletions

View File

@@ -603,7 +603,7 @@ class LoggingPlugin:
fpath = Path(fname)
if not fpath.is_absolute():
fpath = Path(str(self._config.rootdir), fpath)
fpath = self._config.rootpath / fpath
if not fpath.parent.exists():
fpath.parent.mkdir(exist_ok=True, parents=True)