Skip to content

Commit

Permalink
remove encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
henryrizzi committed Oct 20, 2016
1 parent 7f2017f commit 849321e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petl/io/xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def toxlsx(tbl, filename, sheet=None, encoding=None):
import openpyxl
if encoding is None:
encoding = locale.getpreferredencoding()
wb = openpyxl.Workbook(write_only=True, encoding=encoding)
wb = openpyxl.Workbook(write_only=True)
ws = wb.create_sheet(title=sheet)
for row in tbl:
ws.append(row)
Expand Down

0 comments on commit 849321e

Please sign in to comment.