From 3e3bca8205f247d45c426fbcd2e58ee45ec4b853 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 19 Aug 2015 11:50:27 +0200 Subject: [PATCH] Fix boot.py parse call --- scripts/boot.py | 6 +++--- 1 file 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__()) -- 2.39.2