Skip to content

Commit

Permalink
hotfix: set update_env kwrd params
Browse files Browse the repository at this point in the history
  • Loading branch information
hlouzada committed Aug 21, 2024
1 parent 9333209 commit 6328bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder_remote_services/jupyter_client/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class SpyderAsyncIOLoopKernelManager(AsyncIOLoopKernelManager):
def format_kernel_cmd(self, extra_arguments=None):
"""Format the kernel command line to be run."""
# avoids sporadical warning on kernel restart
self.update_env({'PYDEVD_DISABLE_FILE_VALIDATION': '1'})
self.update_env(env={'PYDEVD_DISABLE_FILE_VALIDATION': '1'})

cmd = super().format_kernel_cmd(extra_arguments)
# Replace the `ipykernel_launcher` with `spyder_kernel.console`
Expand Down

0 comments on commit 6328bae

Please sign in to comment.