Skip to content
Snippets Groups Projects
Commit 68f7388f authored by Martin Buerbaum's avatar Martin Buerbaum
Browse files

* Fixed usage of string.lower()

parent 9a7f01bb
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ def get_operator_by_idname(bl_idname): ...@@ -84,7 +84,7 @@ def get_operator_by_idname(bl_idname):
# Splitting by _OT_ worked. # Splitting by _OT_ worked.
# Make space type lowercase # Make space type lowercase
list[0].lower() list[0] = list[0].lower()
space_type = getattr(bpy.ops, list[0], None) space_type = getattr(bpy.ops, list[0], None)
if not space_type: if not space_type:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment