I'd like to know how i can get the icon_id of an image already loaded. For exemple, if i use the template "ui_previews_dynamic_enum.py" and i change the directory, there is no problem as long as i don't return in a folder already used to display the icons. In this case, i've got this message error:
File "C:\Program Files\Blender Foundation\Blender\2.77\scripts\modules\bpy\utils\previews.py", line 97, in load raise KeyError("key %r already exists" % name)
How can i "ask to blender" using the icon_id of the corresponding image if this one already exist ?