We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9075803 + 9ebb64e commit b8e816bCopy full SHA for b8e816b
vpython/_notebook_helpers.py
@@ -8,7 +8,9 @@ def __is_spyder():
8
9
def _spyder_run_setting_is_correct():
10
from spyder.config.main import CONF
11
- return CONF['run']['default/interpreter/dedicated']
+ # Use this instead of accessing like a dictionary so that a
12
+ # default value can be supplied if the setting is missing.
13
+ return CONF.get('run', 'default/interpreter/dedicated', False)
14
15
16
def _warn_if_spyder_settings_wrong():
0 commit comments