From 28f03f1286f3c93129553fdb8b1ee87301ae8cdb Mon Sep 17 00:00:00 2001 From: Evgeniy Shubin Date: Sun, 11 Oct 2020 11:59:57 +0300 Subject: [PATCH] Little grammar fix _normalizsation vs _normalization --- workflow/workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/workflow.py b/workflow/workflow.py index 39352279..d47da3d6 100644 --- a/workflow/workflow.py +++ b/workflow/workflow.py @@ -944,7 +944,7 @@ def __init__(self, default_settings=None, update_settings=None, self._default_settings = default_settings or {} self._update_settings = update_settings or {} self._input_encoding = input_encoding - self._normalizsation = normalization + self._normalization = normalization self._capture_args = capture_args self.help_url = help_url self._workflowdir = None @@ -2696,7 +2696,7 @@ def decode(self, text, encoding=None, normalization=None): """ encoding = encoding or self._input_encoding - normalization = normalization or self._normalizsation + normalization = normalization or self._normalization if not isinstance(text, unicode): text = unicode(text, encoding) return unicodedata.normalize(normalization, text)