odekifr9i8ew8f
This commit is contained in:
parent
a78871cd8d
commit
f144df7d8b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue