explicitly save refs to webish and operations (instead of using Service methods)

This commit is contained in:
meejah
2019-08-24 12:31:08 -06:00
parent 747e9af19f
commit 9050fdcea6
3 changed files with 16 additions and 4 deletions

View File

@ -496,6 +496,12 @@ class _Client(node.Node, pollmixin.PollMixin):
def get_long_tubid(self):
return idlib.nodeid_b2a(self.nodeid)
def get_web_service(self):
"""
:return: a reference to our web server
"""
return self.getServiceNamed("webish")
def _init_permutation_seed(self, ss):
seed = self.config.get_config_from_file("permutation-seed")
if not seed: