Fix linting

This commit is contained in:
yangdx
2025-02-21 13:23:55 +08:00
parent bee4622052
commit f5bd3f2b16

View File

@@ -477,7 +477,7 @@ class LightRAG:
@staticmethod @staticmethod
def clean_text(text: str) -> str: def clean_text(text: str) -> str:
"""Clean text by removing null bytes (0x00) and whitespace""" """Clean text by removing null bytes (0x00) and whitespace"""
return text.strip().replace('\x00', '') return text.strip().replace("\x00", "")
def insert( def insert(
self, self,