summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/config/services.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/pixelated/config/services.py b/service/pixelated/config/services.py
index f961e4b9..116e903a 100644
--- a/service/pixelated/config/services.py
+++ b/service/pixelated/config/services.py
@@ -20,6 +20,7 @@ class Services(object):
def __init__(self, leap_session):
self._leap_home = leap_config.leap_home
+ self._pixelated_home = os.path.join(self._leap_home, 'pixelated')
self._leap_session = leap_session
@defer.inlineCallbacks
@@ -56,7 +57,7 @@ class Services(object):
key = str(key_unicode)
logger.debug('The key len is: %s' % len(key))
user_id = self._leap_session.user_auth.uuid
- user_folder = os.path.join(self._leap_home, 'pixelated', user_id)
+ user_folder = os.path.join(self._pixelated_home, user_id)
search_engine = SearchEngine(key, user_home=user_folder)
self.search_engine = search_engine