Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

fix video not upload #1410

Merged
merged 1 commit into from
Apr 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion instabot/api/api_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ def resize_video(fname, thumbnail=None):
print("Resizing video")
vid = vid.resize(width=1080)
(w, h) = vid.size
return fname, thumbnail, w, h, vid.duration
if vid.duration > d_lim:
print("Cutting video to {lim} sec from start".format(lim=d_lim))
vid = vid.subclip(0, d_lim)
Expand Down