From 19ed77fd38ef353e73ceaaf1663bd1862c5b67ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 6 Feb 2022 15:10:00 +0100 Subject: [PATCH] rename generic text method --- PyTeX/format/generic_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTeX/format/generic_text.py b/PyTeX/format/generic_text.py index e02cb24..96bb0f0 100644 --- a/PyTeX/format/generic_text.py +++ b/PyTeX/format/generic_text.py @@ -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: