Workbookのインポートを修正
This commit is contained in:
parent
f7f3e5d40b
commit
3575818af8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
# 列名を書き込み
|
||||
|
|
Loading…
Reference in a new issue