mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-02 03:31:20 +05:30
Clean up argument creation
This commit is contained in:
parent
489ae35f1d
commit
42df0df5a0
@ -118,9 +118,9 @@ spawn do
|
|||||||
client = get_client(pool)
|
client = get_client(pool)
|
||||||
|
|
||||||
args = [] of String
|
args = [] of String
|
||||||
1..(top.size - 1).times { |i| args << "($#{i + 1}), " }
|
(1..top.size).each { |i| args << "($#{i})," }
|
||||||
args << "($#{top.size}) "
|
|
||||||
args = args.join("")
|
args = args.join("")
|
||||||
|
args = args.chomp(",")
|
||||||
|
|
||||||
videos = [] of Video
|
videos = [] of Video
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user