fix error in node template and quiet warning.
[blender.git] / release / scripts / templates / operator_node.py
index 9c19993a38a51450a178dc492722081df28cc3e0..b689ce7634e92fdf223d32d19fd0c12c090976b5 100644 (file)
@@ -1,7 +1,7 @@
 import bpy
 
 
-def main(operator, context):
+def main(context):
     space = context.space_data
     node_tree = space.node_tree
     node_active = context.active_node