From b8d021a4f3c68da35a66f5c1f52ff4eb1f9ff6db Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 13 Mar 2017 21:15:44 -0300 Subject: [bug] fix path and config on blobs --- server/src/leap/soledad/server/_blobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/src/leap/soledad/server/_blobs.py b/server/src/leap/soledad/server/_blobs.py index f048fb6f..3b840391 100644 --- a/server/src/leap/soledad/server/_blobs.py +++ b/server/src/leap/soledad/server/_blobs.py @@ -33,7 +33,7 @@ from twisted.web.client import FileBodyProducer from twisted.web.server import NOT_DONE_YET from zope.interface import Interface, implementer -from ._config import get_config +from leap.soledad.server._config import get_config __all__ = ['BlobsResource', 'blobs_resource'] @@ -195,7 +195,7 @@ if __name__ == '__main__': from twisted.internet import reactor # XXX pass the path here - root = BlobsResource() + root = BlobsResource('/tmp/blobs/user') # I picture somethink like # BlobsResource(backend="filesystem", backend_opts={'path': '/tmp/blobs'}) -- cgit v1.2.3