Cleanup: pep8 for examples
This commit is contained in:
@@ -4,8 +4,10 @@ Run a Function every x Seconds
|
||||
"""
|
||||
import bpy
|
||||
|
||||
|
||||
def every_2_seconds():
|
||||
print("Hello World")
|
||||
return 2.0
|
||||
|
||||
|
||||
bpy.app.timers.register(every_2_seconds)
|
||||
|
Reference in New Issue
Block a user