diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index 72554791..9cd1cfb3 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -477,7 +477,7 @@ class LightRAG: @staticmethod def clean_text(text: str) -> str: """Clean text by removing null bytes (0x00) and whitespace""" - return text.strip().replace('\x00', '') + return text.strip().replace("\x00", "") def insert( self,