Fix linting
This commit is contained in:
parent
bee4622052
commit
f5bd3f2b16
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue