Skip to content

Commit

Permalink
Break after successful response
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth committed Oct 2, 2018
1 parent ae28502 commit f8eb5ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/invidious/videos.cr
Expand Up @@ -587,6 +587,8 @@ def fetch_video(id, proxies)
if !region.empty?
info["region"] = region.keys[0]
end

break
rescue ex
end
end
Expand Down

0 comments on commit f8eb5ab

Please sign in to comment.