Changeset - cdc748c14f06
[Not reviewed]
0 1 0
Brett Smith - 7 years ago 2017-05-17 16:52:02
brettcsmith@brettcsmith.org
config: Fix type of path passed to cache classes.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
oxrlib/config.py
Show inline comments
...
 
@@ -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)
0 comments (0 inline, 0 general)