X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Fconfig.py;h=168938a01efb12e7d2cc767c6220de401c896981;hb=fe1ed51724531b8c1e78e7d7eb590c9be20e275c;hp=f7ec982f61096579f45982d4f9d5bab4dd46ec36;hpb=d71073a0cf4bae0da48270594eb5a0a33abff05f;p=mpd-sima.git diff --git a/sima/utils/config.py b/sima/utils/config.py index f7ec982..168938a 100644 --- a/sima/utils/config.py +++ b/sima/utils/config.py @@ -137,8 +137,8 @@ class ConfMan(object): # CONFIG MANAGER CLASS argparse. """ ok = True - for op, ftochk in [('log', self.config['log']['logfile']), - ('pidfile', self.config['daemon']['pidfile']),]: + for op, ftochk in [('logfile', self.config.get('log','logfile')), + ('pidfile', self.config.get('daemon', 'pidfile')),]: if not ftochk: continue if isdir(ftochk):