commit f1c5733a369bd119bb8657c7e80ad07cbdd9a61c Author: vaydheesh Date: Sun Jul 28 23:45:02 2019 +0530 Snip trailing whitespace diff --git a/apertium/utils.py b/apertium/utils.py index 90c933d..cd71e80 100644 --- a/apertium/utils.py +++ b/apertium/utils.py @@ -54,10 +54,9 @@ def execute_pipeline(inp: str, commands: List[List[str]]) -> str: input_file = tempfile.NamedTemporaryFile(delete=False, mode='w') output_file = tempfile.NamedTemporaryFile(delete=False) input_file_name, output_file_name = input_file.name, output_file.name - + arg = command[1][1] if len(command) >= 3 else '' path = command[-1] - text = end.decode() input_file.write(text) input_file.close()