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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-10-09 00:50:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-09 00:50:06 +0400
commita82bcb38c40fbeeea3715341d07ace5bb56890ed (patch)
tree5e75b39242729489bd797e94eda9d3e7aecf0f0f /system_demo_mode
parentb941652219a5fe080bf2d71664a393ca83c238b5 (diff)
style cleanup: pep8
Diffstat (limited to 'system_demo_mode')
-rw-r--r--system_demo_mode/demo_mode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/system_demo_mode/demo_mode.py b/system_demo_mode/demo_mode.py
index 54b8ed24..3cce16eb 100644
--- a/system_demo_mode/demo_mode.py
+++ b/system_demo_mode/demo_mode.py
@@ -390,7 +390,7 @@ class DemoMode(bpy.types.Operator):
demo_mode_temp_file() # play this once through then never again
# toggle
- if DemoMode.enabled and DemoMode.first_run == False:
+ if DemoMode.enabled and DemoMode.first_run is False:
# this actually cancells the previous running instance
# should never happen now, DemoModeControl is for this.
return {'CANCELLED'}
@@ -409,7 +409,7 @@ class DemoMode(bpy.types.Operator):
# call from DemoModeControl
@classmethod
def disable(cls):
- if cls.enabled and cls.first_run == False:
+ if cls.enabled and cls.first_run is False:
# this actually cancells the previous running instance
# should never happen now, DemoModeControl is for this.
cls.enabled = False