From 2a7237538940e2fc266f304cc101df2173806970 Mon Sep 17 00:00:00 2001 From: HitBlast Date: Sat, 29 Jun 2024 01:27:32 +0600 Subject: [PATCH] chore: fixed a variable name --- avro/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avro/main.py b/avro/main.py index 4dfbb28..49727ce 100755 --- a/avro/main.py +++ b/avro/main.py @@ -208,7 +208,7 @@ def _reverse_backend_ext(text: str) -> str: return output[0] if len(output) == 1 else output -def _rearrange_unicode_text(string: str) -> str: +def _rearrange_unicode_text(text: str) -> str: """ Rearranges Unicode (Avro) text to match conversion standards for ASCII. @@ -216,7 +216,7 @@ def _rearrange_unicode_text(string: str) -> str: """ # Convert the string to a list of individual characters. - chars = list(string) + chars = list(text) length = len(chars) barrier = 0