fix for misc py errors + some pep8 edits.
[blender.git] / doc / python_api / examples / bpy.types.Operator.py
index 52edfa0a61b93a59e906a0a40170e4a433d1d191..0981712e1ff07291d5d0d81cc0ecf25d4e64e43b 100644 (file)
@@ -21,7 +21,7 @@ class HelloWorldOperator(bpy.types.Operator):
         print("Hello World")
         return {'FINISHED'}
 
-bpy.utils.register_class(SimpleOperator)
+bpy.utils.register_class(HelloWorldOperator)
 
 # test call to the newly defined operator
 bpy.ops.wm.hello_world()