mirror of https://github.com/aria2/aria2
				
				
				
			aria2mon: Replace client.call with local method
							parent
							
								
									c09eab574c
								
							
						
					
					
						commit
						e39e1e11a4
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue