diff --git a/python/GafferSceneUI/RenderPassEditor.py b/python/GafferSceneUI/RenderPassEditor.py index edf5a4585ae..d7869dd0b83 100644 --- a/python/GafferSceneUI/RenderPassEditor.py +++ b/python/GafferSceneUI/RenderPassEditor.py @@ -965,7 +965,7 @@ def __scenePlugFromFocus( self ) : if focusNode is not None : outputScene = next( ( p for p in GafferScene.ScenePlug.RecursiveOutputRange( focusNode ) if not p.getName().startswith( "__" ) ), - None + None ) if outputScene is not None : return outputScene