]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
make sure the StorageServer goes underneath the client's basedir
authorBrian Warner <warner@lothar.com>
Sun, 3 Dec 2006 07:52:28 +0000 (00:52 -0700)
committerBrian Warner <warner@lothar.com>
Sun, 3 Dec 2006 07:52:28 +0000 (00:52 -0700)
allmydata/client.py

index e973788f62bb8f16bc65b41f7d9fa57017ea07e1..bc004789768e6b8f18732b72dbd40954704c38ea 100644 (file)
@@ -1,5 +1,5 @@
 
-import sha
+import os, sha
 from foolscap import Referenceable
 from twisted.application import service
 from twisted.python import log
@@ -25,7 +25,7 @@ class Client(node.Node, Referenceable):
         self.queen = None # self.queen is either None or a RemoteReference
         self.all_peers = set()
         self.connections = {}
-        self.add_service(StorageServer(self.STOREDIR))
+        self.add_service(StorageServer(os.path.join(basedir, self.STOREDIR)))
         self.add_service(Uploader())
         self.queen_pburl = None
         self.queen_connector = None