MCPcopy Index your code
hub / github.com/pyload/pyload / initPlugin

Method initPlugin

module/PyFile.py:98–103  ·  view source on GitHub ↗

inits plugin instance

(self)

Source from the content-addressed store, hash-verified

96
97 @lock
98 def initPlugin(self):
99 """ inits plugin instance """
100 if not self.plugin:
101 self.pluginmodule = self.m.core.pluginManager.getPlugin(self.pluginname)
102 self.pluginclass = getattr(self.pluginmodule, self.m.core.pluginManager.getPluginName(self.pluginname))
103 self.plugin = self.pluginclass(self)
104
105 @lock
106 def hasPlugin(self):

Callers 3

decryptContainerMethod · 0.95
assignJobMethod · 0.80
_processMethod · 0.80

Calls 2

getPluginNameMethod · 0.80
getPluginMethod · 0.45

Tested by

no test coverage detected