* Refactor iqdb response collection

This commit is contained in:
r888888888
2014-05-08 16:42:16 -07:00
parent d46042f038
commit 6de67da280
7 changed files with 7 additions and 18 deletions

View File

@@ -14,7 +14,7 @@ module Iqdb
def find_similar
if Danbooru.config.iqdb_hostname_and_port
@matches = Iqdb::Server.new(*Danbooru.config.iqdb_hostname_and_port).query(3, @download.file_path).matches
@matches = Iqdb::Server.default.query(3, @download.file_path).matches
end
end
end