Commit 8928af7a authored by mouadh's avatar mouadh

fix path

parent 8bf94cc3
......@@ -125,6 +125,8 @@ class MdxEngine:
# toxworkdir does not expanduser properly under tox
if 'OLAPY_PATH' in os.environ:
home_directory = os.environ.get('OLAPY_PATH')
elif MdxEngine.DATA_FOLDER is not None:
home_directory = MdxEngine.DATA_FOLDER
elif RUNNING_TOX:
home_directory = os.environ.get('HOME_DIR')
else:
......@@ -148,6 +150,7 @@ class MdxEngine:
"""
config_file_parser = ConfigParser(self.cube_path)
tables = {}
if config_file_parser.config_file_exist(
) and self.cube in config_file_parser.get_cubes_names(
) and self.client != 'web':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment