Ver código fonte

aria2mon: Replace client.call with local method

Florian Gamböck 9 anos atrás
pai
commit
e39e1e11a4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      doc/xmlrpc/aria2mon

+ 1 - 1
doc/xmlrpc/aria2mon

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