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:
authorCampbell Barton <campbell@blender.org>2022-04-26 08:03:04 +0300
committerCampbell Barton <campbell@blender.org>2022-04-26 08:03:04 +0300
commite3724d29ffb753867ebd1c52f7b644fdcb2bba25 (patch)
tree6836b2b98fded12de2521220375729597004b3c4 /doc/python_api/examples/gpu.8.py
parent802bc8e2330062e321eef24a58ca9fe86778fdf7 (diff)
Cleanup: autopep8
Diffstat (limited to 'doc/python_api/examples/gpu.8.py')
-rw-r--r--doc/python_api/examples/gpu.8.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/gpu.8.py b/doc/python_api/examples/gpu.8.py
index 86a242b0258..385b71d0c1a 100644
--- a/doc/python_api/examples/gpu.8.py
+++ b/doc/python_api/examples/gpu.8.py
@@ -43,7 +43,7 @@ with offscreen.bind():
offscreen.free()
-if not IMAGE_NAME in bpy.data.images:
+if IMAGE_NAME not in bpy.data.images:
bpy.data.images.new(IMAGE_NAME, WIDTH, HEIGHT)
image = bpy.data.images[IMAGE_NAME]
image.scale(WIDTH, HEIGHT)