Add get() function to configpaths
This commit is contained in:
parent
52657e7f18
commit
8079930de0
|
@ -59,6 +59,10 @@ def windowsify(s):
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
def get(key):
|
||||||
|
return gajimpaths[key]
|
||||||
|
|
||||||
|
|
||||||
class ConfigPaths:
|
class ConfigPaths:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# {'name': (type, path), } type can be TYPE_CONFIG, TYPE_CACHE, TYPE_DATA
|
# {'name': (type, path), } type can be TYPE_CONFIG, TYPE_CACHE, TYPE_DATA
|
||||||
|
|
Loading…
Reference in New Issue