Fix linting
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user