Merge pull request #201 from lilwayne1556/master

No longer throws a KeyError when checking for non expensive scope
This commit is contained in:
mergify[bot] 2020-07-14 19:40:10 +00:00 • committed by GitHub
commit 1ae5c6fdcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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