fix ValueError bug
This commit is contained in:
parent
0eaecc0741
commit
1f2b9426f8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user