# HG changeset patch # User Goffi # Date 1521015638 -3600 # Node ID d1324e43d448d020db1924fdd4b473740f0c00aa # Parent 5f97118dc82ab5788b95860ff431172bf7e908f8 server: fixed profile cache path (the path has changed and "profiles" is now needed) diff -r 5f97118dc82a -r d1324e43d448 src/server/server.py --- a/src/server/server.py Wed Mar 14 09:01:04 2018 +0100 +++ b/src/server/server.py Wed Mar 14 09:20:38 2018 +0100 @@ -1589,7 +1589,7 @@ sat_session.profile = profile self.prof_connected.add(profile) - cache_dir = os.path.join(self.cache_root_dir, regex.pathEscape(profile)) + cache_dir = os.path.join(self.cache_root_dir, u'profiles', regex.pathEscape(profile)) # FIXME: would be better to have a global /cache URL which redirect to profile's cache directory, without uuid self.cache_resource.putChild(sat_session.uuid, ProtectedFile(cache_dir)) log.debug(_(u"profile cache resource added from {uuid} to {path}").format(uuid=sat_session.uuid, path=cache_dir))