diff --git a/.gitignore b/.gitignore index 8762eb7..a2a56f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,8 @@ .idea .venv /data/ -/configs/config.json -/configs/config.yaml -/configs/metrics.json -/configs/metrics_win.json +/configs/config.* +/configs/metrics.* +/configs/metrics_win.* /__pycache__/ /metrics/__pycache__/ \ No newline at end of file diff --git a/config_file.py b/config_file.py index 0271383..718fb9b 100755 --- a/config_file.py +++ b/config_file.py @@ -35,7 +35,7 @@ def read_prop(filepath, sep='=', comment_char='#'): conf[key] = value return conf -def read_yaml(name): #ToDo: need to be tested! +def read_yaml(name): conf = {} with open(name, 'r') as f: y_conf = yaml.safe_load(f)