update interface of config functions

This commit is contained in:
Mike Fährmann
2019-11-23 23:50:16 +01:00
parent 4ca883c66f
commit f5604492c3
15 changed files with 172 additions and 148 deletions

View File

@@ -188,7 +188,7 @@ def clear():
def _path():
path = config.get(("cache", "file"), -1)
path = config.get(("cache",), "file", -1)
if path != -1:
return util.expand_path(path)