fix: file submission, content type

This commit is contained in:
Thirion Aurélien 2018-06-29 12:08:46 +02:00 committed by GitHub
parent 407aa14244
commit c41a165a21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: