def _init(self):
"""Initializes some basic info about the plugin and the use environment
Internal use only:
"""
try:
path = inspect.getfile(self.command.__class__)
except:
path = ""
self.info.update({"id": self.command.id,
"creator": self.command.creator,
"module": self.command.__class__.__module__,
"filepath": path,
"application": env.application()
})
self.info.update(env.machineInfo())
评论列表
文章目录