Dev to Main: corrections #2

Merged
das merged 3 commits from dev into main 2025-02-18 10:25:40 +02:00
2 changed files with 4 additions and 5 deletions
Showing only changes of commit 0fa8b49212 - Show all commits

7
.gitignore vendored
View File

@ -1,9 +1,8 @@
.idea .idea
.venv .venv
/data/ /data/
/configs/config.json /configs/config.*
/configs/config.yaml /configs/metrics.*
/configs/metrics.json /configs/metrics_win.*
/configs/metrics_win.json
/__pycache__/ /__pycache__/
/metrics/__pycache__/ /metrics/__pycache__/

View File

@ -35,7 +35,7 @@ def read_prop(filepath, sep='=', comment_char='#'):
conf[key] = value conf[key] = value
return conf return conf
def read_yaml(name): #ToDo: need to be tested! def read_yaml(name):
conf = {} conf = {}
with open(name, 'r') as f: with open(name, 'r') as f:
y_conf = yaml.safe_load(f) y_conf = yaml.safe_load(f)