This commit is contained in:
soju6jan
2022-10-03 05:15:45 +09:00
parent e04bd9b347
commit 6f5a05742d

View File

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