e02fcc0
Encode the data passed onto the mail hook so it is of bytes type Fixes https://pagure.io/pagure/issue/4999 Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>