]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/control.py
clean up uri-vs-cap terminology, emphasize cap instances instead of URI strings
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / control.py
index d629c1366fce8ad7ca46a9958748bc1f751c98a6..09d10d617df5fad4e563acfb99b1d6c8a793380c 100644 (file)
@@ -50,7 +50,8 @@ class ControlServer(Referenceable, service.Service):
         return d
 
     def remote_download_from_uri_to_file(self, uri, filename):
-        d = self.parent.downloader.download_to_filename(uri, filename)
+        filenode = self.parent.create_node_from_uri(uri)
+        d = filenode.download_to_filename(filename)
         d.addCallback(lambda res: filename)
         return d