dg
This commit is contained in:
parent
c80db915aa
commit
9060880ad1
1 changed files with 3 additions and 0 deletions
|
@ -919,6 +919,9 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue