We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f85f11b + f5e1a0b commit e368ce8Copy full SHA for e368ce8
1 file changed
TextSpitter/core.py
@@ -72,4 +72,5 @@ def DocxFileRead(self):
72
return text
73
74
def TextFileRead(self):
75
- return self.get_contents()
+ text = open(self.file).read()
76
+ return text
0 commit comments