diff options
Diffstat (limited to 'scripts/boot.py')
-rw-r--r-- | scripts/boot.py | 6 |
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__()) |