mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Clean up argument creation
This commit is contained in:
parent
489ae35f1d
commit
42df0df5a0
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ spawn do
|
|||
client = get_client(pool)
|
||||
|
||||
args = [] of String
|
||||
1..(top.size - 1).times { |i| args << "($#{i + 1}), " }
|
||||
args << "($#{top.size}) "
|
||||
(1..top.size).each { |i| args << "($#{i})," }
|
||||
args = args.join("")
|
||||
args = args.chomp(",")
|
||||
|
||||
videos = [] of Video
|
||||
|
||||
|
|
Loading…
Reference in a new issue