make the rpc parse the .ini file also
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 10:45:12 +0000 (10:45 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 10:45:12 +0000 (10:45 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@712 839d8a87-29fc-0310-9880-83ba4fa771e5

bin/lists.rpc.py

index e1fe3c5..30a9b25 100755 (executable)
@@ -52,6 +52,7 @@ class AuthFailed(Exception): pass
 #------------------------------------------------
 
 config = ConfigParser.ConfigParser()
+config.read(os.path.dirname(__file__)+'/../configs/platal.ini')
 config.read(os.path.dirname(__file__)+'/../configs/platal.conf')
 
 def get_config(sec, val, default=None):