From ec5b98d82277e2c303334444ff33a093877f9b15 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Mon, 4 Jan 2021 11:38:06 +0000 Subject: [PATCH] updated examples --- examples/examples.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/examples.py b/examples/examples.py index 2ffdce3fa..4ad9b15cd 100644 --- a/examples/examples.py +++ b/examples/examples.py @@ -4,7 +4,7 @@ import sys from binarycpython import _binary_c_bindings -from binarycpython.utils.functions import parse_output +from binarycpython.utils.functions import example_parse_output from binarycpython.utils.custom_logging_functions import ( autogen_C_logging_code, binary_c_log_code, @@ -74,8 +74,8 @@ def run_example_binary_with_run_system(): # print(output) # Catch results that start with a given header. (Mind that binary_c has to be configured to print them if your not using a custom logging function) - result_example_header_1 = parse_output(output, selected_header="example_header_1") - result_example_header_2 = parse_output(output, selected_header="example_header_2") + result_example_header_1 = example_parse_output(output, selected_header="example_header_1") + result_example_header_2 = example_parse_output(output, selected_header="example_header_2") # print(result_example_header_1) -- GitLab