def getGentationRange(self): gentation = GentationFilter.getGentation(self.__config.get("Settings","Gentation")) rv = [] for i in range(6): tmp = 1<<i if gentation&tmp != 0: rv.append(gentation&tmp) return rv