rename generic text method

This commit is contained in:
Maximilian Keßler 2022-02-06 15:10:00 +01:00
parent 3fd9ab1049
commit 19ed77fd38

View file

@ -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: