forked from rDrama/rDrama
master
parent
7d69d81700
commit
5e0c719c2c
|
@ -919,6 +919,9 @@ def submit_post(v):
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
post_url = upload_video(file)
|
post_url = upload_video(file)
|
||||||
|
# shit to make webm work
|
||||||
|
if not post_url.endswith('.mp4'):
|
||||||
|
post_url += 'mp4'
|
||||||
print(post_url)
|
print(post_url)
|
||||||
new_post.url = post_url
|
new_post.url = post_url
|
||||||
new_post.processing = True
|
new_post.processing = True
|
||||||
|
|
Loading…
Reference in New Issue