fix submit paste

This commit is contained in:
Terrtia 2018-06-29 15:30:01 +02:00
parent f5bda70e82
commit 44524b25a4
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -34,7 +34,7 @@ def create_paste(uuid, paste_content, ltags, ltagsgalaxies, name):
gzip64encoded = base64.standard_b64encode(gzipencoded).decode() gzip64encoded = base64.standard_b64encode(gzipencoded).decode()
except: except:
abord_file_submission(uuid, "file error") abord_file_submission(uuid, "file error")
continue return 1
# send paste to Global module # send paste to Global module
relay_message = "{0} {1}".format(save_path, gzip64encoded) relay_message = "{0} {1}".format(save_path, gzip64encoded)