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

Commit

Permalink
Merge pull request #1410 from AKwoKWH/patch-5
Browse files Browse the repository at this point in the history
fix video not upload
  • Loading branch information
ohld authored Apr 10, 2020
2 parents 75ec67c + ad75eb8 commit b8b9a94
Showing 1 changed file with 0 additions and 1 deletion.
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

0 comments on commit b8b9a94

Please sign in to comment.