From 7538a1eccf99106712a17cc85adacdf27c4a8e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 20 Jun 2019 12:16:37 +0200 Subject: olm: Rename the errors function argument in the decryption functions. --- python/olm/group_session.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/olm/group_session.py') diff --git a/python/olm/group_session.py b/python/olm/group_session.py index 313e5fa..5068192 100644 --- a/python/olm/group_session.py +++ b/python/olm/group_session.py @@ -176,7 +176,7 @@ class InboundGroupSession(object): raise OlmGroupSessionError(last_error) - def decrypt(self, ciphertext, errors="replace"): + def decrypt(self, ciphertext, unicode_errors="replace"): # type: (AnyStr, str) -> Tuple[str, int] """Decrypt a message @@ -232,7 +232,7 @@ class InboundGroupSession(object): plaintext = to_unicode_str( ffi.unpack(plaintext_buffer, plaintext_length), - errors=errors + errors=unicode_errors ) # clear out copies of the plaintext -- cgit v1.2.3