summaryrefslogtreecommitdiffstats
path: root/qtip/loader/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/loader/base.py')
-rw-r--r--qtip/loader/base.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qtip/loader/base.py b/qtip/loader/base.py
index 2f5ab67a..d3a7e1d3 100644
--- a/qtip/loader/base.py
+++ b/qtip/loader/base.py
@@ -15,14 +15,15 @@ import yaml
from qtip.base.error import InvalidFormat, NotFound
from qtip.base.constant import PropName
-ROOT_DIR = 'benchmarks'
+
+ROOT_DIR = path.join(path.dirname(__file__), path.pardir, path.pardir,
+ 'benchmarks')
class BaseLoader(object):
"""Abstract class of QTIP benchmark loader"""
RELATIVE_PATH = '.'
- _paths = [path.join(path.dirname(__file__), path.pardir, path.pardir,
- ROOT_DIR)]
+ _paths = [ROOT_DIR]
def __init__(self, name, paths=None):
self._file = name