def __init__(self, component_manager): Filter.__init__(self, component_manager) if (self.config()["cat_colors"] == None): self.config()["cat_colors"] = {} if (self.config()["cat_color_default"] == None): self.config()["cat_color_default"] = 0xFFFFFFFF self.cat_colors = self.config()["cat_colors"] self.default_cat_color = self.config()["cat_color_default"]
def __init__(self, component_manager): Filter.__init__(self, component_manager) self.last_filename = None
def test(self): f = Filter(None) f.run("", None, None)