pokkoppok

remotes/1693045480750635534/spooky-22
fireworks88 2021-09-06 22:18:59 +02:00
parent 60b1890144
commit ee54cacaec
1 changed files with 4 additions and 1 deletions

View File

@ -871,7 +871,10 @@ def submit_post(v):
new_post.url = upload_ibb(file)
else:
try:
new_post.url = upload_video(file)
post_url = upload_imgur(file)
new_post.url = post_url
thing = gevent.spawn(check_processing_thread, new_post, post_url, g.db)
print(thing.started)
except UploadException as e:
if request.headers.get("Authorization"):
return {