python rclconfig: implemente getDbDir()
This commit is contained in:
parent
fcc31632d2
commit
0f36253565
@ -88,7 +88,11 @@ class RclConfig:
|
||||
return self.confdir
|
||||
def getDataDir(self):
|
||||
return self.datadir
|
||||
|
||||
def getDbDir(self):
|
||||
dir = self.getConfParam("dbdir")
|
||||
if not os.path.isabs(dir):
|
||||
dir = os.path.join(self.confdir, dir)
|
||||
return dir
|
||||
def setKeyDir(self, dir):
|
||||
self.keydir = dir
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user