No longer throws a KeyError when checking for non expensive scope

This commit is contained in:
Wayne Bowie 2020-07-14 12:23:09 -05:00
commit f9f0d5a83e

View file

@ -221,7 +221,7 @@ class VariablesView( object ):
new_scopes.append( scope )
if not scope.scope[ 'expensive' ] and not scope.IsCollapsedByUser():
if not scope.scope.get('expensive', '') and not scope.IsCollapsedByUser():
# Expand any non-expensive scope which is not manually collapsed
scope.expanded = True