final stage update bugs
This commit is contained in:
@ -113,6 +113,10 @@ class SumasenExcel:
|
||||
|
||||
self.basic = basic
|
||||
|
||||
self.output_path = basic.get("output_path")
|
||||
if not os.path.exists(self.output_path):
|
||||
os.makedirs(self.output_path, exist_ok=True)
|
||||
|
||||
logging.info("step-2")
|
||||
|
||||
# basicセクションから必要なパラメータを取得
|
||||
@ -143,7 +147,7 @@ class SumasenExcel:
|
||||
logging.error("sections not found in basic section")
|
||||
|
||||
# 出力ファイルパスを設定
|
||||
self.output_filepath = f"{self.docpath}/{doc_file}"
|
||||
self.output_filepath = f"{self.output_path}/{doc_file}"
|
||||
# 新規のExcelワークブックを作成
|
||||
self.workbook = openpyxl.Workbook()
|
||||
# デフォルトで作成されるシートを削除
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user