Skip to content

Commit

Permalink
fix: error formatting for overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed May 21, 2022
1 parent 9b360cc commit 7c7cdef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beet/contrib/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def autosave_handler(self, ctx: Context):
self.dirty.append(str(pack.save(directory)))
except PackOverwrite as exc:
logger.warning(
f"Remove the conflicting pack to set up the link. {exc}."
f"Remove the conflicting pack to set up the link. {exc}"
)

def setup_link(
Expand Down
2 changes: 1 addition & 1 deletion beet/library/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def __init__(self, path: FileSystemPath) -> None:
self.path = path

def __str__(self) -> str:
return f"Couldn't overwrite {str(self.path)!r}."
return f'Couldn\'t overwrite "{str(self.path)}".'


class Pack(MatchMixin, MergeMixin, Container[str, NamespaceType]):
Expand Down

0 comments on commit 7c7cdef

Please sign in to comment.