From 3575818af885df169d79d5a3ab6c62e5c8a77c60 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Thu, 26 Sep 2024 09:28:20 +0900 Subject: [PATCH] =?UTF-8?q?Workbook=E3=81=AE=E3=82=A4=E3=83=B3=E3=83=9D?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_slash.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dislocker_slash.py b/dislocker_slash.py index d27b18a..50fd245 100644 --- a/dislocker_slash.py +++ b/dislocker_slash.py @@ -9,6 +9,7 @@ import string import random import hashlib import openpyxl +from openpyxl import Workbook class DL(): def __init__(self): @@ -555,7 +556,7 @@ class DL(): rows = cursor.fetchall() # Excelワークブックを作成 - wb = openpyxl.Workbook()() + wb = Workbook() ws = wb.active # 列名を書き込み