Skip to content

Commit

Permalink
Merge pull request #23069 from ccordoba12/fix-error-when-getting-spyd…
Browse files Browse the repository at this point in the history
…er-conda-channel

PR: Fix small error in `get_spyder_conda_channel` (Utils)
  • Loading branch information
ccordoba12 authored Nov 25, 2024
2 parents 932d642 + 6fe04d4 commit 8231f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/utils/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_spyder_conda_channel():
channel = package_info["channel"]
channel_url = package_info["base_url"]

if "<develop>" in channel_url:
if channel_url is not None and "<develop>" in channel_url:
channel_url = None

return channel, channel_url

0 comments on commit 8231f12

Please sign in to comment.