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
.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__/

View File

@ -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)