不显示split.txt 和 source.txt
This commit is contained in:
parent
51d9bea1c4
commit
9d8ee7717c
|
|
@ -60,6 +60,10 @@ def list_files_from_folder(kb_name: str):
|
||||||
for x in ["temp", "tmp", ".", "~$"]:
|
for x in ["temp", "tmp", ".", "~$"]:
|
||||||
if tail.startswith(x):
|
if tail.startswith(x):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
if "_source.txt" in tail.lower() or "_split.txt" in tail.lower():
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def process_entry(entry):
|
def process_entry(entry):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue