Skip to content

Commit

Permalink
Merge pull request #22075 from mrclary/issue-21771
Browse files Browse the repository at this point in the history
PR: Fix setting user environment variables on Windows
  • Loading branch information
ccordoba12 committed May 20, 2024
2 parents 220706e + 8ffa400 commit b827ca6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/utils/environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def set_user_env(env, parent=None):
Set user environment variables via HKCU (Windows) or shell startup file
(Unix).
"""
env_dict = listdict2envdict(env)
env_dict = clean_env(listdict2envdict(env))

if os.name == 'nt':
types = dict()
Expand Down
2 changes: 2 additions & 0 deletions spyder/widgets/collectionseditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,6 +1590,8 @@ def set_filter(self, dictfilter=None):

class CollectionsEditorWidget(QWidget, SpyderWidgetMixin):
"""Dictionary Editor Widget"""
# Dummy conf section to avoid a warning from SpyderConfigurationObserver
CONF_SECTION = ""

sig_refresh_requested = Signal()

Expand Down

0 comments on commit b827ca6

Please sign in to comment.