bug fix: FRAPPY_CONFDIR not mandatory
This commit is contained in:
parent
a7559c648e
commit
b81c98448d
@ -50,7 +50,7 @@ class FrappyManager(ServiceManager):
|
||||
cfgparser = ConfigParser()
|
||||
cfgparser.optionxform = str
|
||||
cfgfile = self.env[ins].get('FRAPPY_CONFIG_FILE')
|
||||
confdir = self.env[ins]['FRAPPY_CONFDIR']
|
||||
confdir = self.env[ins].get('FRAPPY_CONFDIR')
|
||||
if cfgfile is not None:
|
||||
cfgfile = self.env[ins]['FRAPPY_CONFIG_FILE'].replace('<SERV>', service)
|
||||
cfgparser.read(cfgfile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user