rename generic text method
This commit is contained in:
parent
3fd9ab1049
commit
19ed77fd38
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class GenericText:
|
|||
self._path = content
|
||||
|
||||
@property
|
||||
def content(self) -> List[str]:
|
||||
def text(self) -> List[str]:
|
||||
if self._content is None:
|
||||
try:
|
||||
with open(self._path, 'r') as file:
|
||||
|
|
Loading…
Reference in a new issue