diff --git a/avro/main.py b/avro/main.py index b36f9be..861df6f 100755 --- a/avro/main.py +++ b/avro/main.py @@ -252,9 +252,9 @@ def reverse(*texts: str, from_bijoy: bool = False, remap_words: bool = True) -> # Convert from Bijoy to Unicode if from_bijoy is True if from_bijoy: - texts = to_unicode(*texts) - if isinstance(texts, str): - texts = (texts,) + converted_texts = to_unicode(*texts) + if isinstance(converted_texts, str): + texts = (converted_texts,) output = _concurrency_helper(lambda text: _reverse_backend_ext(text, remap_words), texts) return output[0] if len(output) == 1 else output