Merge pull request #201 from lilwayne1556/master
No longer throws a KeyError when checking for non expensive scope
This commit is contained in:
commit
1ae5c6fdcc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue