From 1f2b9426f88aa72207b7b33ce1c86cacb979967d Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Mon, 20 Jul 2015 14:38:11 -0400 Subject: [PATCH] fix ValueError bug --- attribution.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/attribution.py b/attribution.py index a28c374..eeead94 100644 --- a/attribution.py +++ b/attribution.py @@ -80,6 +80,8 @@ class AttributionReport(object): deposit_df = self._get_dataframe_by_extension(fname, date_cols=[self.DP_DATE_COLUMN, ]) except IndexError: return False + except ValueError: + return False except: raise if set(self.REQUIRED_DP_COLUMNS) < set(deposit_df.columns):