mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
If a helper is not configured, make the banner on the welcome page say that, and have a white background.
fixes #1735 Author: kick Signed-off-by: David-Sarah Hopwood <davidsarah@jacaranda.org>
This commit is contained in:
@ -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"]))
|
||||
|
Reference in New Issue
Block a user