From 423f5075ccd0fa77250734c81ac7158ac8f533f2 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 2 Mar 2017 20:32:26 -0300 Subject: [bug] fix resource parameter --- server/src/leap/soledad/server/_resource.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src') diff --git a/server/src/leap/soledad/server/_resource.py b/server/src/leap/soledad/server/_resource.py index 04bb4fba..7a00ad9a 100644 --- a/server/src/leap/soledad/server/_resource.py +++ b/server/src/leap/soledad/server/_resource.py @@ -19,7 +19,7 @@ A twisted resource that serves the Soledad Server. """ from twisted.web.resource import Resource -from ._blobs import BlobsResource +from ._blobs import blobs_resource from ._server_info import ServerInfo from ._wsgi import get_sync_resource @@ -74,7 +74,7 @@ class SoledadResource(Resource): # requests to /blobs will serve blobs if enabled if enable_blobs: - self.putChild('blobs', BlobsResource()) + self.putChild('blobs', blobs_resource) # other requests are routed to legacy sync resource self._sync_resource = get_sync_resource(sync_pool) -- cgit v1.2.3