Fix T49991: reloading librairies doesn't update node groups.
[blender.git] / source / blender / datatoc / datatoc_icon_split.py
index 55f0a5c5f6a87da93e7a31aaaf6876a0b18e0e8f..aae907ec34007265aca056f1441230f4bf6de4f0 100755 (executable)
@@ -63,7 +63,7 @@ def image_from_file(filepath):
 
     try:
         import bpy
-    except:
+    except ImportError:
         bpy = None
 
     if bpy is not None: