aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/boot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/boot.py b/scripts/boot.py
index aaaf174..5c687a2 100644
--- a/scripts/boot.py
+++ b/scripts/boot.py
@@ -16,9 +16,9 @@ def boot(config, to_database = True):
value = None
try:
- out = utils.callsubprocess('parse_command', conf.parse_command,
- conf.parse_output, True)
- value = float(out[0])
+ res = utils.callsubprocess('parse_command', conf.parse_command,
+ conf.parse_output, True, stdin = out)
+ value = float(res[0])
except Exception as e:
print("W: parse exception: " + e.__str__())