39
39
Search for the config file, and return it as a filename.
43
42
Raises a ConfigError on error.
45
44
if 'IVLECONF' in os.environ:
47
46
if os.path.exists(fname):
51
48
if os.path.exists('/etc/ivle/ivle.conf'):
52
49
return '/etc/ivle/ivle.conf'
53
50
raise ConfigError("Could not find IVLE config file")