Skip to content

Commit

Permalink
Add utf8 encoding hint
Browse files Browse the repository at this point in the history
  • Loading branch information
thatbudakguy committed Jul 28, 2024
1 parent 707b3b4 commit 85f97f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dphon/console.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

from typing import List, Tuple

from rich.console import Console
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 85f97f5

Please sign in to comment.