test
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -133,3 +133,4 @@ dmypy.json
|
|||||||
config.yaml
|
config.yaml
|
||||||
lib2/
|
lib2/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
memo.txt
|
||||||
|
|||||||
@@ -61,7 +61,8 @@ class CustomFormatter(logging.Formatter):
|
|||||||
# Suuport를 logger 생성전에 쓰지 않기 위해 중복 선언
|
# Suuport를 logger 생성전에 쓰지 않기 위해 중복 선언
|
||||||
def read_yaml(filepath):
|
def read_yaml(filepath):
|
||||||
import yaml
|
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)
|
data = yaml.load(file, Loader=yaml.FullLoader)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user