bb783cf1 by 周伟奇

Merge branch 'feature/smart_dda' into feature/0918

2 parents 5b9338bd b9540036
......@@ -329,6 +329,8 @@ class Command(BaseCommand, LoggerMixin):
except Exception as e:
self.folder_log.info('{0} [daily wb failed] [result={1}] [error={2}]'.format(
self.log_base, result, traceback.format_exc()))
if len(wb.sheetnames) > 1 and 'Sheet' in wb.sheetnames:
wb.remove(wb.get_sheet_by_name('Sheet'))
wb.save(wb_path)
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!