From f3e00f33c8180dd26531b4a147aa6ed871d10c90 Mon Sep 17 00:00:00 2001 From: Robert Izzard <r.izzard@surrey.ac.uk> Date: Tue, 12 Oct 2021 12:19:49 +0100 Subject: [PATCH] force stdout flush from verbose_print --- binarycpython/utils/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binarycpython/utils/functions.py b/binarycpython/utils/functions.py index e03c46e93..9ff2f3668 100644 --- a/binarycpython/utils/functions.py +++ b/binarycpython/utils/functions.py @@ -590,7 +590,7 @@ def verbose_print(message: str, verbosity: int, minimal_verbosity: int) -> None: if verbosity >= minimal_verbosity: print(message) - + sys.stdout.flush() def remove_file(file: str, verbosity: int = 0) -> None: """ -- GitLab