From 85f97f5306f916a2a23affffb2d23890dbe561b3 Mon Sep 17 00:00:00 2001 From: Nick Budak Date: Sun, 28 Jul 2024 15:30:15 -0700 Subject: [PATCH] Add utf8 encoding hint --- dphon/console.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dphon/console.py b/dphon/console.py index 8e69dd4..a2b7dc9 100644 --- a/dphon/console.py +++ b/dphon/console.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + from typing import List, Tuple from rich.console import Console @@ -98,7 +100,6 @@ def _mark_span( for i in range(len(span)): # gap in u: insertion in v (if not punctuation) if alignment[i] == self.gap_char and other_alignment[i].isalnum(): - marked_span.append(alignment[i]) other_ptr += 1 continue