This commit is contained in:
soju6jan
2022-10-03 05:17:10 +09:00
parent 6f5a05742d
commit 06878062e5

View File

@@ -69,6 +69,10 @@ def read_yaml(filepath):
print('111111111111') print('111111111111')
print(filepath) print(filepath)
print('222222') print('222222')
import sys
print(sys.argv)
print('333333333333')
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: