From 5182a3f43c5ff3c777d4b034dd1ffcba8deebb2c Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Sat, 4 Dec 2021 03:01:26 +0100 Subject: [PATCH] chore: fix spelling issues Thanks, codespell! --- mopidy_beets/client.py | 4 ++-- mopidy_beets/translator.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy_beets/client.py b/mopidy_beets/client.py index a0176d5..dfc652d 100644 --- a/mopidy_beets/client.py +++ b/mopidy_beets/client.py @@ -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)) @@ -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 diff --git a/mopidy_beets/translator.py b/mopidy_beets/translator.py index b243dd6..a08bd27 100644 --- a/mopidy_beets/translator.py +++ b/mopidy_beets/translator.py @@ -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: