odekifr9i8ew8f

remotes/1693045480750635534/spooky-22
fireworks88 2021-09-06 22:16:08 +02:00
parent 3b244175c4
commit 60b1890144
1 changed files with 2 additions and 1 deletions

View File

@ -889,7 +889,8 @@ def submit_post(v):
if file.content_type.startswith('image/'):
post_url = upload_imgur(file)
new_post.url = post_url
gevent.spawn(check_processing_thread, new_post, post_url, g.db)
thing = gevent.spawn(check_processing_thread, new_post, post_url, g.db)
print(thing.started)
else:
try:
new_post.url = upload_video(file)