Skip to content
Snippets Groups Projects
Commit 838be76a authored by Michael Loipführer's avatar Michael Loipführer
Browse files

fix small error

parent bb888d4a
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ class Sensor:
print(f"Invalid Config: missing section {owid}")
return
if 'name' not in config[owid] and 'calibration' not in config[owid]:
if 'name' not in config[owid] or 'calibration' not in config[owid]:
print(f"Invalid Config for: {owid}")
raise RuntimeError(f"Invalid Config for: {owid}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment