summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-03-13 21:15:44 -0300
committerdrebs <drebs@leap.se>2017-04-04 18:27:32 +0200
commitb8d021a4f3c68da35a66f5c1f52ff4eb1f9ff6db (patch)
treeb3a182b00c7e6f93ca32df55df4d5a138dce5346 /server
parentacd7df8f0b9bc4a650a4d7ee936cccb8ce8a7e7e (diff)
[bug] fix path and config on blobs
Diffstat (limited to 'server')
-rw-r--r--server/src/leap/soledad/server/_blobs.py4
1 files changed, 2 insertions, 2 deletions
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'})