diff --git a/tools/scripts/manage_translations.py b/tools/scripts/manage_translations.py index 4f6ce0a4c5..7ef9bbdb45 100755 --- a/tools/scripts/manage_translations.py +++ b/tools/scripts/manage_translations.py @@ -75,8 +75,8 @@ def _handle_response(output, errors): """ Prints response received from Zanata client """ - if not errors and '\n' in output: - for response in output.split('\n'): + if not errors and '\n' in output.decode('utf-8'): + for response in output.decode('utf-8').split('\n'): print(response) return True else: