diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-09-26 14:03:39 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2016-09-26 14:03:39 -0300 |
commit | 1dcedb66938c654e85cdfd0baef00865b8728315 (patch) | |
tree | fc0214a5da40917e7a5e490e7471f0d0c9d890d8 /service/pixelated/config | |
parent | bc82002e703118b2347c59106080da03ea69b5c8 (diff) |
[#668] Moved user folder under pixelated subfolder
Diffstat (limited to 'service/pixelated/config')
-rw-r--r-- | service/pixelated/config/services.py | 3 |
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 |