def OnActivate(self): plugin_manager.register_resource("chat-to-client", ChatWrapper())
def OnActivate(self): self.shell = ProxyShell(stdout=sys.stdout) plugin_manager.register_resource("shell", self.shell)