aboutsummaryrefslogtreecommitdiffstats
path: root/python/quote_parsing
diff options
context:
space:
mode:
Diffstat (limited to 'python/quote_parsing')
-rw-r--r--python/quote_parsing/parse_emails.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py
index bc07acde..edb17a93 100644
--- a/python/quote_parsing/parse_emails.py
+++ b/python/quote_parsing/parse_emails.py
@@ -188,7 +188,7 @@ def parse_bnp_block(fh, indextype, skip_header=True):
vals = re.sub(" +", " ", line).rstrip().split(" ")
if indextype == "HY":
# If line is missing vol, add it in
- if len(line) == 7:
+ if len(vals) == 7:
vals += [""]
vals += [""]
if len(vals) < 3: # something went wrong