Add get() function to configpaths

This commit is contained in:
Philipp Hörist 2017-01-06 19:38:51 +01:00
parent 52657e7f18
commit 8079930de0
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ def windowsify(s):
return s
def get(key):
return gajimpaths[key]
class ConfigPaths:
def __init__(self):
# {'name': (type, path), } type can be TYPE_CONFIG, TYPE_CACHE, TYPE_DATA