From 4bb0a34d49f7764c85010552a283793e59828122 Mon Sep 17 00:00:00 2001 From: soju6jan Date: Mon, 3 Oct 2022 05:10:34 +0900 Subject: [PATCH] test --- lib/framework/init_declare.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/framework/init_declare.py b/lib/framework/init_declare.py index df211fa..693f818 100644 --- a/lib/framework/init_declare.py +++ b/lib/framework/init_declare.py @@ -63,8 +63,11 @@ class CustomFormatter(logging.Formatter): # Suuport를 logger 생성전에 쓰지 않기 위해 중복 선언 def read_yaml(filepath): + import re + import yaml + yaml.reader.Reader.NON_PRINTABLE = re.compile('[^\t\n\r -�-\U0010ffff] #with open(filepath, encoding='utf8') as file: with open(filepath, 'rb') as file: data = yaml.load(file, Loader=yaml.FullLoader)