summaryrefslogtreecommitdiff
path: root/bin/tools/config.py
diff options
context:
space:
mode:
authorhda (Tiny) <hda@tinyerp.com>2009-12-08 15:42:46 +0530
committerhda (Tiny) <hda@tinyerp.com>2009-12-08 15:42:46 +0530
commit24cd74becf6df66c71cdafc9f8a41ffdde903aec (patch)
treecf195d12fdbdbeadd6de930c93e54b01fa959a23 /bin/tools/config.py
parenta481bfb190667cd2fcb6335adf533afe6e1c8e2d (diff)
parent474af4cd6e6f00759589c4bee9cebf9d7d26b0d8 (diff)
Merge
bzr revid: hda@tinyerp.com-20091208101246-5ave2zzgzsjqf0m8
Diffstat (limited to 'bin/tools/config.py')
-rw-r--r--bin/tools/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/tools/config.py b/bin/tools/config.py
index 05cf7be1c25..b8f90ec33d7 100644
--- a/bin/tools/config.py
+++ b/bin/tools/config.py
@@ -207,7 +207,8 @@ class configmanager(object):
else:
rcfilepath = os.path.expanduser('~/.openerp_serverrc')
- self.rcfile = fname or opt.config or os.environ.get('OPENERP_SERVER') or rcfilepath
+ self.rcfile = os.path.abspath(
+ fname or opt.config or os.environ.get('OPENERP_SERVER') or rcfilepath)
self.load()