Commit 59e031d5 authored by 子恒's avatar 子恒

[Bugfix]修复文件路径问题。

parent 89855b44
Pipeline #172 failed with stages
...@@ -32,7 +32,7 @@ class FactorDetailDoc(object): ...@@ -32,7 +32,7 @@ class FactorDetailDoc(object):
df.to_sql(name='factor_detail', con=self._destination, if_exists='append', index=False) df.to_sql(name='factor_detail', con=self._destination, if_exists='append', index=False)
def update(self): def update(self):
excel = pd.read_excel('factor_detail_doc.xlsx', sheet_name=None) excel = pd.read_excel('doc/factor_detail_doc.xlsx', sheet_name=None)
sheet_names = list(excel.keys()) sheet_names = list(excel.keys())
factor_info = sheet_names.pop(0) factor_info = sheet_names.pop(0)
self.update_factor_info(excel[factor_info]) self.update_factor_info(excel[factor_info])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment