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