class Plugin(object): # prevents the execution of the next's plugin hook LAST = 1 def __init__(self, context): self.d = Debug("[Mod] " + self.__class__.__name__) self.context = context self.d.info("loaded...") def before_unload(self): pass def before_quit(self): pass
def __init__(self, context): self.d = Debug("[Mod] " + self.__class__.__name__) self.context = context self.d.info("loaded...")