From f5bd3f2b16f2d270bdcf6659951db68cd2e4ba8e Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 21 Feb 2025 13:23:55 +0800 Subject: [PATCH] Fix linting --- lightrag/lightrag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,