mirror of
https://github.com/iv-org/invidious.git
synced 2025-11-03 14:11:53 +00:00
Clean up Video class
This commit is contained in:
@@ -150,11 +150,8 @@ spawn do
|
||||
top = rank_videos(PG_DB, 40)
|
||||
client = get_client(youtube_pool)
|
||||
|
||||
args = [] of String
|
||||
if top.size > 0
|
||||
(1..top.size).each { |i| args << "($#{i})," }
|
||||
args = args.join("")
|
||||
args = args.chomp(",")
|
||||
args = arg_array(top)
|
||||
else
|
||||
next
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user