use is rather then == when comparing against None.
This commit is contained in:
@@ -381,7 +381,7 @@ class InfoOperatorRNA:
|
||||
|
||||
def _GetInfoRNA(bl_rna, cls, parent_id=''):
|
||||
|
||||
if bl_rna == None:
|
||||
if bl_rna is None:
|
||||
return None
|
||||
|
||||
key = parent_id, bl_rna.identifier
|
||||
|
||||
Reference in New Issue
Block a user