Skip to content

Commit 9127dc2

Browse files
fix: filetype string was renamed to another one at some point
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent 8626f0c commit 9127dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wdoc/utils/batch_file_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def deterministic_sorter(doc_dict: DocDict) -> int:
320320

321321
if len(to_load) > 1:
322322
for tl in to_load:
323-
assert tl["filetype"] != "string", "You shouldn't not be using filetype 'string' with other kind of documents normally. Please open an issue on github and explain me your usecase to see how I can fix that for you!"
323+
assert tl["filetype"] != "text", "You shouldn't not be using filetype 'text' with other kind of documents normally. Please open an issue on github and explain me your usecase to see how I can fix that for you!"
324324

325325
# dir name where to store temporary files
326326
load_temp_name = "file_load_" + str(uuid6.uuid6())

0 commit comments

Comments
 (0)