diff options
| -rw-r--r-- | python/quote_parsing/parse_emails.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/quote_parsing/parse_emails.py b/python/quote_parsing/parse_emails.py index 5f3fe3d1..f4f925b1 100644 --- a/python/quote_parsing/parse_emails.py +++ b/python/quote_parsing/parse_emails.py @@ -299,7 +299,11 @@ def parse_ms_block(fh, indextype): vals += [vol, price_vol] else: if " " in vol: - vol, vol_change, be = vol.split() + try: + vol, vol_change, be = vol.split() + except ValueError: + # Doesn't look like we're tracking vol change and sometimes BE is broken + vol, vol_change_be = vol.split() vals += [vol] r.append(vals) return makedf(r, indextype, "MS") |
