forked from MarseyWorld/MarseyWorld
odekifr9i8ew8f
parent
3b244175c4
commit
60b1890144
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue