diff src/tools/memory.py @ 369:e83d0c21d64d

launching script now read config files added ./sat.conf in possible config file location
author Goffi <goffi@goffi.org>
date Sun, 19 Jun 2011 17:40:36 +0200
parents efbfccfed623
children 20f11097d99b
line wrap: on
line diff
--- a/src/tools/memory.py	Sat Jun 18 23:28:10 2011 +0200
+++ b/src/tools/memory.py	Sun Jun 19 17:40:36 2011 +0200
@@ -410,7 +410,7 @@
         """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 !"))