From c41a165a218a01835b36e8544e699f1b9b0199a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thirion=20Aur=C3=A9lien?= Date: Fri, 29 Jun 2018 12:08:46 +0200 Subject: [PATCH] fix: file submission, content type --- bin/submit_paste.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/submit_paste.py b/bin/submit_paste.py index 7417fa15..c1feebea 100755 --- a/bin/submit_paste.py +++ b/bin/submit_paste.py @@ -212,7 +212,7 @@ if __name__ == "__main__": abord_file_submission(uuid, "file error") continue r_serv_log_submit.set(uuid + ':nb_total', 1) - create_paste(uuid, content, ltags, ltagsgalaxies, uuid) + create_paste(uuid, content.encode(), ltags, ltagsgalaxies, uuid) remove_submit_uuid(uuid) else: