idirew
This commit is contained in:
parent
5ec3cc4bf5
commit
d7fff1e3cb
1 changed files with 2 additions and 0 deletions
|
@ -897,6 +897,8 @@ def submit_post(v):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
post_url = upload_video(file)
|
post_url = upload_video(file)
|
||||||
|
if not post_url.endswith('.mp4'):
|
||||||
|
post_url += 'mp4'
|
||||||
new_post.url = post_url
|
new_post.url = post_url
|
||||||
new_post.processing = True
|
new_post.processing = True
|
||||||
gevent.spawn(check_processing_thread, v.id, new_post, post_url, g.db)
|
gevent.spawn(check_processing_thread, v.id, new_post, post_url, g.db)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue