Code clean-up: Use standard-conformal {'sets'} for .report and operator return values
[blender-addons-contrib.git] / curve_tools.py
index 23c02e5ef10f06d885cc9d555c9ff50359f206fc..ffc144f34a7b556f165f0059de6452f296a3f3df 100644 (file)
@@ -781,7 +781,7 @@ class Birail1Operator(bpy.types.Operator):
         objs = bpy.selection
 
         if len(objs)!=3:
-            self.report("ERROR","Please select 3 curves")
+            self.report({'ERROR'},"Please select 3 curves")
             return {'FINISHED'}
 
         scn = context.scene