]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/client.py
If a helper is not configured, make the banner on the welcome page say that, and...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / client.py
index 1e4479bb47f0c85c143209f6a8737847581ac289..e18999713cc0e7b3c2496fb8bfb74aa0fb3f70a2 100644 (file)
@@ -306,6 +306,9 @@ class Client(node.Node, pollmixin.PollMixin):
 
     def init_client(self):
         helper_furl = self.get_config("client", "helper.furl", None)
+        if helper_furl in ("None", ""):
+            helper_furl = None
+
         DEP = self.DEFAULT_ENCODING_PARAMETERS
         DEP["k"] = int(self.get_config("client", "shares.needed", DEP["k"]))
         DEP["n"] = int(self.get_config("client", "shares.total", DEP["n"]))