Fix typo in '/watch'

This commit is contained in:
Omar Roth 2019-06-01 17:18:34 -05:00
parent 8cecce7570
commit 4e111c84f3
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2
1 changed files with 0 additions and 2 deletions

View File

@ -474,8 +474,6 @@ get "/watch" do |env|
url = audio_streams[0]["url"]
audio_streams.each do |fmt|
pp fmt["bitrate"]
pp params.quality.rchop("k")
if fmt["bitrate"] == params.quality.rchop("k")
url = fmt["url"]
end