mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
client.py: write control.furl in the right place
This commit is contained in:
parent
920fed7f2a
commit
e91288d9ed
@ -118,10 +118,11 @@ class Client(node.Node, Referenceable):
|
||||
c = ControlServer()
|
||||
c.setServiceParent(self)
|
||||
control_url = self.tub.registerReference(c)
|
||||
f = open("control.furl", "w")
|
||||
control_furl_file = os.path.join(self.basedir, "control.furl")
|
||||
f = open(control_furl_file, "w")
|
||||
f.write(control_url + "\n")
|
||||
f.close()
|
||||
os.chmod("control.furl", 0600)
|
||||
os.chmod(control_furl_file, 0600)
|
||||
|
||||
|
||||
def remote_get_versions(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user