Skip to content

Commit

Permalink
chore: fix spelling issues
Browse files Browse the repository at this point in the history
Thanks, codespell!
  • Loading branch information
sumpfralle committed Jan 22, 2024
1 parent f14ccac commit 5182a3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mopidy_beets/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def quote_and_encode(text):
)
)
# Try to add a simple regex filter, if we look for a string.
# This will reduce the ressource consumption of the query on
# This will reduce the resource consumption of the query on
# the server side (and for our 'exact' matching below).
if exact_text and isinstance(value, str):
regex_query = "^{}$".format(re.escape(value))
Expand Down Expand Up @@ -231,7 +231,7 @@ def _get_unique_attribute_values(self, base_url, field, sort_field):
logger.warning(
"Failed to use the /item/unique/KEY feature of the Beets "
"API (introduced in v1.3.18). Falling back to the "
"slower and more ressource intensive manual approach. "
"slower and more resource intensive manual approach. "
"Please upgrade Beets, if possible."
)
# Warn only once and use the manual approach for all future
Expand Down
2 changes: 1 addition & 1 deletion mopidy_beets/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def parse_uri(uri, uri_prefix=None):
elif result_uri.startswith(uri_prefix + ":"):
result_uri = result_uri[len(uri_prefix) + 1 :]
else:
# this prefix cannot be splitted
# this prefix cannot be split
logger.info("Failed to remove URI prefix (%s): %s", uri_prefix, uri)
return None, None
if id_string is not None:
Expand Down

0 comments on commit 5182a3f

Please sign in to comment.