diff --git a/packaging/setup/plugins/ovirt-engine-common/base/remote_engine/remote_engine_manual_files.py b/packaging/setup/plugins/ovirt-engine-common/base/remote_engine/remote_engine_manual_files.py index 4d4b3b4d226..ed3562473cf 100644 --- a/packaging/setup/plugins/ovirt-engine-common/base/remote_engine/remote_engine_manual_files.py +++ b/packaging/setup/plugins/ovirt-engine-common/base/remote_engine/remote_engine_manual_files.py @@ -83,7 +83,7 @@ def copy_from_engine(self, file_name, dialog_name=None): ), prompt=True, ) - with open(resfilename) as f: + with open(resfilename, 'rb') as f: res = f.read() return res