config: Fix type of path passed to cache classes.
This commit is contained in:
parent
620816fe72
commit
cdc748c14f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class Configuration:
|
|||
def _build_cache_loader(self):
|
||||
kwargs = dict(self.conffile.items('Cache'))
|
||||
try:
|
||||
kwargs['dir_path'] = kwargs.pop('directory')
|
||||
kwargs['dir_path'] = pathlib.Path(kwargs.pop('directory'))
|
||||
except KeyError:
|
||||
pass
|
||||
self.cache = cache.CacheWriter(**kwargs)
|
||||
|
|
Loading…
Reference in a new issue