From 8b09156cc4ae7555f78651834ff83f65c1f2ece4 Mon Sep 17 00:00:00 2001 From: syimyuzya Date: Wed, 10 Jul 2024 19:13:00 +0800 Subject: [PATCH] fix: ensure line ending is LF --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 49ee4cf..236243e 100644 --- a/build.py +++ b/build.py @@ -146,7 +146,7 @@ def main(): last_原小韻號 = 0 小韻內字序 = 0 - with open('韻書/廣韻.csv', 'w') as fout: + with open('韻書/廣韻.csv', 'w', newline='') as fout: print( '小韻號,小韻內字序,韻目原貌,音韻地位,反切,字頭,字頭又作,釋義,釋義補充', file=fout,