Skip to content

Commit

Permalink
Merge pull request #21998 from dalthviz/fix_macos_installer_name
Browse files Browse the repository at this point in the history
PR: Fix macOS check when defining installer name string for download (Installers)
  • Loading branch information
mrclary authored Apr 16, 2024
2 parents 8868fe9 + ad9100d commit 982f2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/workers/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def _download_installer(self):
# conda-based installer name
if os.name == 'nt':
plat, ext = 'Windows', 'exe'
elif platform.system == 'Darwin':
elif platform.system() == 'Darwin':
plat, ext = 'macOS', 'pkg'
else:
plat, ext = 'Linux', 'sh'
Expand Down

0 comments on commit 982f2e6

Please sign in to comment.