commit f619bc43394a4b6b26cf4baed901cff2b00e5b7d Author: vaydheesh Date: Sun Jul 28 23:10:27 2019 +0530 Fix: tempfile.read() is already byte type diff --git a/apertium/utils.py b/apertium/utils.py index 320094c..90c933d 100644 --- a/apertium/utils.py +++ b/apertium/utils.py @@ -93,7 +93,7 @@ def execute_pipeline(inp: str, commands: List[List[str]]) -> str: if used_wrapper: output_file.seek(0) - end = output_file.read().encode() + end = output_file.read() output_file.close() os.remove(input_file_name)