Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion beets/ui/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def config_edit(cli_options):
interactive_open([path], editor)
except OSError as exc:
message = f"Could not edit configuration: {exc}"
if not editor:
if exc.errno == 2 or not editor:
message += (
". Please set the VISUAL (or EDITOR) environment variable"
)
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ New features:

Bug fixes:

- Added case when none of the editors is present in the environment. :bug:`6176`
- Handle potential OSError when unlinking temporary files in ArtResizer.
:bug:`5615`
- :doc:`/plugins/spotify`: Updated Spotify API credentials. :bug:`6270`
Expand Down
Loading