aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xelogv3
1 files changed, 1 insertions, 2 deletions
diff --git a/elogv b/elogv
index ec38d7b..e12cced 100755
--- a/elogv
+++ b/elogv
@@ -547,8 +547,7 @@ class ElogViewer:
"""
result = []
self.logf.seek(0)
- logf = self.logf.readlines()
- for line in logf:
+ for line in self.logf.readlines():
if not line.strip():
# textwrap eats newlines
result.append("\n")