This commit is contained in:
soju6jan
2022-10-03 05:14:36 +09:00
parent 1742ab9cbf
commit e04bd9b347

View File

@@ -66,7 +66,7 @@ def read_yaml(filepath):
import re
import yaml
print(filepath)
yaml.reader.Reader.NON_PRINTABLE = re.compile('[^\t\n\r -<2D>-\U0010ffff]')
with open(filepath, encoding='utf8') as file:
#with open(filepath, 'rb') as file: