From 3fe3d13d29279c531ee37cb0c52ba2f403b13deb Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sun, 3 Dec 2006 00:52:28 -0700 Subject: [PATCH] make sure the StorageServer goes underneath the client's basedir --- allmydata/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/allmydata/client.py b/allmydata/client.py index e973788f..bc004789 100644 --- a/allmydata/client.py +++ b/allmydata/client.py @@ -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 -- 2.45.2