diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-19 11:50:27 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-19 11:50:27 +0200 |
commit | 3e3bca8205f247d45c426fbcd2e58ee45ec4b853 (patch) | |
tree | b62c5cac804dde773d157097e98fd001002335da /scripts/boot.py | |
parent | 09601e907a8c1b0c01f30fa1abd0da353365b580 (diff) | |
download | linux-conf-perf-3e3bca8205f247d45c426fbcd2e58ee45ec4b853.tar.gz linux-conf-perf-3e3bca8205f247d45c426fbcd2e58ee45ec4b853.tar.bz2 linux-conf-perf-3e3bca8205f247d45c426fbcd2e58ee45ec4b853.zip |
Fix boot.py parse call
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__()) |