From 019d7cd2e67c945fd33b5b1f7bdbc0f928ef9d46 Mon Sep 17 00:00:00 2001 From: Guilherme Danno Date: Mon, 18 Apr 2016 12:36:42 -0300 Subject: [PATCH] fix some typos --- beetsplug/convert.py | 2 +- docs/plugins/index.rst | 2 +- test/test_edit.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 303a9e149..dd57918d6 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -51,7 +51,7 @@ def replace_ext(path, ext): def get_format(fmt=None): - """Return the command tempate and the extension from the config. + """Return the command template and the extension from the config. """ if not fmt: fmt = config['convert']['format'].get(unicode).lower() diff --git a/docs/plugins/index.rst b/docs/plugins/index.rst index 260eb7d49..24f261963 100644 --- a/docs/plugins/index.rst +++ b/docs/plugins/index.rst @@ -101,7 +101,7 @@ Metadata * :doc:`bpm`: Measure tempo using keystrokes. * :doc:`echonest`: Automatically fetch `acoustic attributes`_ from `the Echo Nest`_ (tempo, energy, danceability, ...). -* :doc:`edit`: Edit metadata from a texteditor. +* :doc:`edit`: Edit metadata from a text editor. * :doc:`embedart`: Embed album art images into files' metadata. * :doc:`fetchart`: Fetch album cover art from various sources. * :doc:`ftintitle`: Move "featured" artists from the artist field to the title diff --git a/test/test_edit.py b/test/test_edit.py index e756f99a2..ab0ae046a 100644 --- a/test/test_edit.py +++ b/test/test_edit.py @@ -31,7 +31,7 @@ class ModifyFileMocker(object): """ def __init__(self, contents=None, replacements=None): - """ `self.contents` and `self.replacements` are initalized here, in + """ `self.contents` and `self.replacements` are initialized here, in order to keep the rest of the functions of this class with the same signature as `EditPlugin.get_editor()`, making mocking easier. - `contents`: string with the contents of the file to be used for