diff options
-rwxr-xr-x | sources/wiki/get_image_info.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/wiki/get_image_info.rb b/sources/wiki/get_image_info.rb index 1593bbe..4abd156 100755 --- a/sources/wiki/get_image_info.rb +++ b/sources/wiki/get_image_info.rb @@ -71,7 +71,7 @@ until image_titles.empty? data = api.query(:prop => 'imageinfo', :iiprop => 'url|size|mime', :titles => some_titles.join('|'), :iiurlwidth => 10, :iiurlheight => 10) if !data['query'] - STDERR.puts "Wiki API call failed (no 'query' field):" + puts "Wiki API call failed (no 'query' field):" pp data next end @@ -85,7 +85,7 @@ until image_titles.empty? end if !data['query']['pages'] - STDERR.puts "Wiki API call failed (no 'pages' field):" + puts "Wiki API call failed (no 'pages' field):" pp data next end |