summaryrefslogtreecommitdiff
path: root/python/highlight.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/highlight.py')
-rw-r--r--python/highlight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/highlight.py b/python/highlight.py
index 59c9025a..e76d0c10 100644
--- a/python/highlight.py
+++ b/python/highlight.py
@@ -151,7 +151,7 @@ class HighlightColor:
return "<color: #%.2x%.2x%.2x, alpha %d>" % (self.red, self.green, self.blue, self.alpha)
return "<color>"
- def _get_core_struct(self):
+ def _to_core_struct(self) -> core.BNHighlightColor:
result = core.BNHighlightColor()
result.style = self.style
result.color = HighlightStandardColor.NoHighlightColor