Rev3135, Add fileNeed command compatibility to merger sites

This commit is contained in:
shortcutme 2017-11-06 13:16:46 +01:00
parent 4483180569
commit 9d09890457
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 4 additions and 1 deletions

View file

@ -158,6 +158,9 @@ class UiWebsocketPlugin(object):
def actionFileRules(self, to, inner_path, *args, **kwargs): def actionFileRules(self, to, inner_path, *args, **kwargs):
return self.mergerFuncWrapper("actionFileRules", to, inner_path, *args, **kwargs) return self.mergerFuncWrapper("actionFileRules", to, inner_path, *args, **kwargs)
def actionFileNeed(self, to, inner_path, *args, **kwargs):
return self.mergerFuncWrapper("actionFileNeed", to, inner_path, *args, **kwargs)
def actionOptionalFileInfo(self, to, inner_path, *args, **kwargs): def actionOptionalFileInfo(self, to, inner_path, *args, **kwargs):
return self.mergerFuncWrapper("actionOptionalFileInfo", to, inner_path, *args, **kwargs) return self.mergerFuncWrapper("actionOptionalFileInfo", to, inner_path, *args, **kwargs)

View file

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv): def __init__(self, argv):
self.version = "0.6.0" self.version = "0.6.0"
self.rev = 3134 self.rev = 3135
self.argv = argv self.argv = argv
self.action = None self.action = None
self.config_file = "zeronet.conf" self.config_file = "zeronet.conf"