def load_all() -> None: for image in LOCAL_ICONS_PATH.glob("*"): try: ImageEnum(image.stem) IMAGES[image.stem] = str(image) except ValueError: pass
def load_all(cls): for image in LOCAL_ICONS_PATH.glob("*"): cls.images[image.stem] = str(image)