Merge pull request #1654 from saltycrys/fix-downloads

Fix downloads
pull/1657/head
saltycrys 4 years ago committed by GitHub
commit c28b1f6fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3372,7 +3372,7 @@ get "/latest_version" do |env|
env.redirect "/api/v1/captions/#{id}?label=#{label}&title=#{title}" env.redirect "/api/v1/captions/#{id}?label=#{label}&title=#{title}"
next next
else else
itag = download_widget["itag"].as_s itag = download_widget["itag"].as_s.to_i
local = "true" local = "true"
end end
end end

Loading…
Cancel
Save