@@ -0,0 +1,148 @@
+import bpy%0A%0Aob = bpy.context.object%0A%0Aif ob.type == 'ARMATURE':%0A%0A    for bone in ob.pose.bones:%0A        print(bone)%0A        bone.custom_shape = None%0A

Create delete_custom_bone_shapes.py