From e39e1e11a49555840962bb3b8e84e97999cbbd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Gamb=C3=B6ck?= Date: Sat, 6 Aug 2016 12:36:14 +0200 Subject: [PATCH] aria2mon: Replace client.call with local method --- doc/xmlrpc/aria2mon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/xmlrpc/aria2mon b/doc/xmlrpc/aria2mon index 6e6dd277..01b3eab8 100755 --- a/doc/xmlrpc/aria2mon +++ b/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