]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
tahoe-get.py: fix bug: actually respect the optional server argument
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Jul 2007 01:47:16 +0000 (18:47 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Jul 2007 01:47:16 +0000 (18:47 -0700)
src/allmydata/scripts/tahoe-get.py

index fcc8c43d79bd77903caa935aaca1cc0812ffd69c..fa92d63eac2e113f6138a379a0e92381ce32256d 100644 (file)
@@ -18,8 +18,8 @@ if len(args) == 1 or args[1] == "-":
 else:
     targfname = args[1]
 
-base = "http://tahoebs1.allmydata.com:8011/"
-base += "vdrive/"
+base = options.server
+base += "/vdrive/"
 base += options.vdrive
 base += "/"