Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/examples/bpy.app.timers.2.py')
-rw-r--r--doc/python_api/examples/bpy.app.timers.2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.app.timers.2.py b/doc/python_api/examples/bpy.app.timers.2.py
index cdd9bf8e9ff..c663959c209 100644
--- a/doc/python_api/examples/bpy.app.timers.2.py
+++ b/doc/python_api/examples/bpy.app.timers.2.py
@@ -6,6 +6,6 @@ import bpy
def every_2_seconds():
print("Hello World")
- return 2
+ return 2.0
bpy.app.timers.register(every_2_seconds)