master
Aevann1 2021-09-07 18:30:33 +02:00
commit 7a32826338
1 changed files with 4 additions and 0 deletions

View File

@ -919,6 +919,10 @@ def submit_post(v):
else:
try:
post_url = upload_video(file)
# shit to make webm work
if not post_url.endswith('.mp4'):
post_url += 'mp4'
# print(post_url)
new_post.url = post_url
new_post.processing = True
gevent.spawn(check_processing_thread, v.id, new_post, post_url, g.db)