Skip to content

Commit fd2e2f4

Browse files
committed
fix: use ASCII dashes in qa.py summary table for Windows compat
Replace Unicode box-drawing character (U+2500) with plain ASCII dash to avoid UnicodeEncodeError on Windows default console encoding.
1 parent 4310deb commit fd2e2f4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/qa.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ def _print_summary(
127127
print(f" {section_title}")
128128
print(bar)
129129
header = f" {'Check':<{col_name}} {'Result':<{col_status}} {'Duration':<{col_dur}}"
130-
dash = "\u2500"
131-
sep = f" {dash * col_name} {dash * col_status} {dash * col_dur}"
130+
sep = f" {'-' * col_name} {'-' * col_status} {'-' * col_dur}"
132131
print(header)
133132
print(sep)
134133
for name, status, dur in results:

0 commit comments

Comments
 (0)