diff --git a/loguru/_better_exceptions.py b/loguru/_better_exceptions.py index f815ee89..de44bd54 100644 --- a/loguru/_better_exceptions.py +++ b/loguru/_better_exceptions.py @@ -85,7 +85,7 @@ def highlight(self, source): _, end_column = end if start_row != row: - source = source[:column] + source = source[column:] row, column = start_row, 0 if type_ != tokenize.ENCODING: