update secop_psi/sea.py

fixes after serveral changes in frappy
This commit is contained in:
2022-04-29 16:30:19 +02:00
parent 1ded96abba
commit f9db90d89b
2 changed files with 54 additions and 29 deletions

View File

@ -71,6 +71,9 @@ class GeneralConfig:
if configfile is None:
configfile = environ.get('FRAPPY_CONFIG_FILE',
path.join(cfg['confdir'], 'generalConfig.cfg'))
configfile = path.expanduser(configfile)
if not path.exists(configfile):
raise FileNotFoundError(configfile)
if configfile and path.exists(configfile):
parser = ConfigParser()
parser.optionxform = str