launching script now read config files
added ./sat.conf in possible config file location
This commit is contained in:
parent
b17971e6fb
commit
e4586d5a07
1 changed files with 20 additions and 9 deletions
|
|
@ -410,7 +410,7 @@ class Memory:
|
|||
"""look for main .ini configuration file, and parse it"""
|
||||
_config = SafeConfigParser(defaults=default_config)
|
||||
try:
|
||||
_config.read(map(os.path.expanduser, ['/etc/sat.conf', '~/sat.conf', '~/.sat.conf', '.sat.conf']))
|
||||
_config.read(map(os.path.expanduser, ['/etc/sat.conf', '~/sat.conf', '~/.sat.conf', 'sat.conf', '.sat.conf']))
|
||||
except:
|
||||
error (_("Can't read main config !"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue