We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d665d7 commit f5e1a0bCopy full SHA for f5e1a0b
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