bb783cf1 by 周伟奇

Merge branch 'feature/smart_dda' into feature/0918

2 parents 5b9338bd b9540036
...@@ -329,6 +329,8 @@ class Command(BaseCommand, LoggerMixin): ...@@ -329,6 +329,8 @@ class Command(BaseCommand, LoggerMixin):
329 except Exception as e: 329 except Exception as e:
330 self.folder_log.info('{0} [daily wb failed] [result={1}] [error={2}]'.format( 330 self.folder_log.info('{0} [daily wb failed] [result={1}] [error={2}]'.format(
331 self.log_base, result, traceback.format_exc())) 331 self.log_base, result, traceback.format_exc()))
332 if len(wb.sheetnames) > 1 and 'Sheet' in wb.sheetnames:
333 wb.remove(wb.get_sheet_by_name('Sheet'))
332 wb.save(wb_path) 334 wb.save(wb_path)
333 335
334 def folder_process(self, input_dir, result_queue): 336 def folder_process(self, input_dir, result_queue):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!