Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion vpython/_notebook_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ def __is_spyder():

def _spyder_run_setting_is_correct():
from spyder.config.main import CONF
return CONF['run']['default/interpreter/dedicated']
# Use this instead of accessing like a dictionary so that a
# default value can be supplied if the setting is missing.
return CONF.get('run', 'default/interpreter/dedicated', False)


def _warn_if_spyder_settings_wrong():
Expand Down