diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/function.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/function.py b/python/function.py index 6d7487cb..229fd2f6 100644 --- a/python/function.py +++ b/python/function.py @@ -3053,6 +3053,8 @@ class DisassemblyTextLine: raise ValueError("Specified color is not one of HighlightStandardColor, _highlight.HighlightColor") if isinstance(color, HighlightStandardColor): self.highlight = _highlight.HighlightColor(color) + else: + self.highlight = color def __str__(self): return "".join(map(str, self.tokens)) |
