diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-19 07:28:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-19 07:28:07 +0300 |
commit | e4a69ffb606bda914410984a8a69a27297316b55 (patch) | |
tree | 600aed872a3f6e7df5119a7740b28ec6c652d47d /release | |
parent | 8cde7ef0209f1c247235b5c98a066214959c35d6 (diff) |
fix [#26104] Context Set Boolean op fails [34892i]
could give better feedback but these operators are mainly for internal use.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/wm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index c6ab406c29d..89e9641ba93 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -51,7 +51,7 @@ rna_relative_prop = BoolProperty(name="Relative", def context_path_validate(context, data_path): import sys try: - value = eval("context.%s" % data_path) + value = eval("context.%s" % data_path) if data_path else Ellipsis except AttributeError: if "'NoneType'" in str(sys.exc_info()[1]): # One of the items in the rna path is None, just ignore this |