Skip to content

Commit db27c71

Browse files
committed
More debugging output
1 parent 14935bd commit db27c71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/io/excel.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1584,7 +1584,7 @@ def write_cells(self, cells, sheet_name=None, startrow=0, startcol=0,
15841584
else:
15851585
style = self._convert_to_style(cell.style, num_format_str)
15861586
style_dict[stylekey] = style
1587-
print(cell.row, cell.col, cell.style, style)
1587+
print(cell.row, cell.col, cell.style, style.__dict__)
15881588

15891589
if cell.mergestart is not None and cell.mergeend is not None:
15901590
wks.merge_range(startrow + cell.row,
@@ -1715,7 +1715,6 @@ def _convert_to_style(self, style_dict, num_format_str=None):
17151715
index(props['font_script'])
17161716

17171717
if isinstance(props.get('underline'), string_types):
1718-
import sys
17191718
props['underline'] = {'none': 0, 'single': 1, 'double': 2,
17201719
'singleAccounting': 33,
17211720
'doubleAccounting': 34}[props['underline']]

0 commit comments

Comments
 (0)