correct base dir, now relative to lib

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-23 19:13:36 +02:00
parent 6139fab354
commit 26fad6f23c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Path:
if base_dir:
self.base_dir = base_dir
else:
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
self.base_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
self.temp_dir = tempfile.mkdtemp()