Merge branch 'FloGa-bugfix/unauthorized-call-in-aria2mon'

release-1.26.x
Tatsuhiro Tsujikawa 2016-08-06 22:49:31 +09:00
commit 7c1d138143
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ result.each { |entry|
end
print "\n"
files=client.call("aria2.getFiles",entry['gid'])
files=client_call(client,secret,"aria2.getFiles",entry['gid'])
if files.length > 0 then
first_file=files.find{|file| file["selected"]=="true"}
if first_file != nil then