commit 58a2295fed22ea729df0e9c5d7ed58ab4977b5fb Author: vaydheesh Date: Thu Jul 18 09:40:12 2019 +0530 Fixed: logging diff --git a/apertium/utils.py b/apertium/utils.py index 79e0dfd..0e09445 100644 --- a/apertium/utils.py +++ b/apertium/utils.py @@ -88,8 +88,7 @@ def execute_pipeline(inp: str, commands: List[List[str]]) -> str: os.remove(input_file_name) os.remove(output_file_name) if not wrappers_available or not used_wrapper: - if not used_wrapper: - apertium.logger.warning('Calling subprocess %s', command[0]) + apertium.logger.warning('Calling subprocess %s', command[0]) proc = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE) end, _ = proc.communicate(end) return end.decode()