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, ])
|
deposit_df = self._get_dataframe_by_extension(fname, date_cols=[self.DP_DATE_COLUMN, ])
|
||||||
except IndexError:
|
except IndexError:
|
||||||
return False
|
return False
|
||||||
|
except ValueError:
|
||||||
|
return False
|
||||||
except:
|
except:
|
||||||
raise
|
raise
|
||||||
if set(self.REQUIRED_DP_COLUMNS) < set(deposit_df.columns):
|
if set(self.REQUIRED_DP_COLUMNS) < set(deposit_df.columns):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user