fix: file submission, content type

pull/215/head
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
1 changed files with 1 additions and 1 deletions

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: