diff --git a/.gitignore b/.gitignore index 7dd611f..ea33060 100644 --- a/.gitignore +++ b/.gitignore @@ -133,3 +133,4 @@ dmypy.json config.yaml lib2/ .vscode/ +memo.txt diff --git a/lib/framework/init_declare.py b/lib/framework/init_declare.py index 52e9df8..b2e39f9 100644 --- a/lib/framework/init_declare.py +++ b/lib/framework/init_declare.py @@ -61,7 +61,8 @@ class CustomFormatter(logging.Formatter): # Suuport를 logger 생성전에 쓰지 않기 위해 중복 선언 def read_yaml(filepath): import yaml - with open(filepath, encoding='utf8') as file: + #with open(filepath, encoding='utf8') as file: + with open(filepath, 'rb') as file: data = yaml.load(file, Loader=yaml.FullLoader) return data