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