summaryrefslogtreecommitdiff
path: root/python/datarender.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/datarender.py')
-rw-r--r--python/datarender.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/datarender.py b/python/datarender.py
index 6a9982e9..cf7a79e7 100644
--- a/python/datarender.py
+++ b/python/datarender.py
@@ -147,7 +147,7 @@ class DataRenderer:
raise ValueError("Specified color is not one of HighlightStandardColor, highlight.HighlightColor")
if isinstance(color, enums.HighlightStandardColor):
color = highlight.HighlightColor(color)
- line_buf[i].highlight = color._get_core_struct()
+ line_buf[i].highlight = color._to_core_struct()
if line.address is None:
if len(line.tokens) > 0:
line_buf[i].addr = line.tokens[0].address