MCPcopy Create free account
hub / github.com/MCSLTeam/MCSL2 / run

Method run

MCSL2Lib/Pages/pluginPage.py:201–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 self.setObjectName("InstallPluginThread")
200
201 def run(self):
202 try:
203 pluginArchive = ZipFile(GlobalMCSL2Variables.installingPluginArchiveDirectory, "r")
204 pluginArchive.extractall("./Plugins")
205 pluginArchive.close()
206 self.success.emit()
207 except Exception as e:
208 MCSL2Logger.error(exc=e)
209 self.failed.emit()

Callers 1

deleteServer_Step1Method · 0.45

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected