Coverage: Update color to font_color in header_format
Updated the code to use the font_color property, which is the correct attribute for setting the text color in recent versions of xlsxwriter (3.2.1). Signed-off-by: Arkadiusz Cholewinski <arkadiuszx.cholewinski@intel.com>
This commit is contained in:
parent
2534dc14b9
commit
c5c061a5c0
@ -334,7 +334,7 @@ class Json_report:
|
||||
{
|
||||
"bold": True,
|
||||
"fg_color": "#538DD5",
|
||||
"color":"white"
|
||||
"font_color":"white"
|
||||
}
|
||||
)
|
||||
cell_format = workbook.add_format(
|
||||
@ -404,7 +404,7 @@ class Json_report:
|
||||
{
|
||||
"bold": True,
|
||||
"fg_color": "#538DD5",
|
||||
"color":"white"
|
||||
"font_color":"white"
|
||||
}
|
||||
)
|
||||
|
||||
@ -415,7 +415,7 @@ class Json_report:
|
||||
"align": "center",
|
||||
"valign": "vcenter",
|
||||
"fg_color": "#538DD5",
|
||||
"color":"white"
|
||||
"font_color":"white"
|
||||
}
|
||||
)
|
||||
cell_format = self.report_book.add_format(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user