about summary refs log tree commit diff
path: root/lsv.py
diff options
context:
space:
mode:
Diffstat (limited to 'lsv.py')
-rwxr-xr-xlsv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsv.py b/lsv.py
index 9100629..63678ba 100755
--- a/lsv.py
+++ b/lsv.py
@@ -37,7 +37,7 @@ def main(qs):
     for line in f:
       if (startmark+' ') in line:
         printing = True
-      elif endmark in line:
+      if (endmark + ' ') in line:
         printf(line)
         printing = False
       if printing: