From 31a4435e370bcec859e134551e9b835cc1cb0d5c Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Fri, 2 Sep 2022 22:28:31 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - README.rst - docs/contributing.rst - sorl/thumbnail/engines/base.py Fixes: - Should read `thumbnail` rather than `thumnbnail`. - Should read `warrant` rather than `warrent`. Signed-off-by: Tim Gates --- README.rst | 2 +- docs/contributing.rst | 2 +- sorl/thumbnail/engines/base.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index a7b713965..b06fed743 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ and follow the `guidelines `_. Feel free to create a new Pull request if you want to propose a new feature. If you need development support or want to discuss with other developers -join us in the channel #sorl-thumnbnail at freenode.net or Gitter. +join us in the channel #sorl-thumbnail at freenode.net or Gitter. For releases updates and more in deep development discussion use our mailing list in Google Groups. diff --git a/docs/contributing.rst b/docs/contributing.rst index f9ffcc3be..d6709a6f7 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -4,7 +4,7 @@ Contributing Feel free to create a new Pull request if you want to propose a new feature or fix a bug. If you need development support or want to discuss -with other developers, join us in the channel #sorl-thumnbnail at freenode.net +with other developers, join us in the channel #sorl-thumbnail at freenode.net irc://irc.freenode.net/#sorl-thumbnail diff --git a/sorl/thumbnail/engines/base.py b/sorl/thumbnail/engines/base.py index 864ecdb6b..433f2fce5 100644 --- a/sorl/thumbnail/engines/base.py +++ b/sorl/thumbnail/engines/base.py @@ -98,7 +98,7 @@ def crop(self, image, geometry, options): return image elif crop == 'smart': # Smart cropping is suitably different from regular cropping - # to warrent it's own function + # to warrant it's own function return self._entropy_crop(image, geometry[0], geometry[1], x_image, y_image) # Handle any other crop option with the backend crop function.