remotes/1693045480750635534/spooky-22
fireworks88 2021-09-07 22:25:33 +02:00
parent ba3a2714ab
commit 43b552c5de
1 changed files with 2 additions and 0 deletions

View File

@ -897,6 +897,8 @@ def submit_post(v):
else:
try:
post_url = upload_video(file)
if not post_url.endswith('.mp4'):
post_url += 'mp4'
new_post.url = post_url
new_post.processing = True
gevent.spawn(check_processing_thread, v.id, new_post, post_url, g.db)