diff --git a/app/logical/iqdb/command.rb b/app/logical/iqdb/command.rb index d86bf12d9..5e2cfde75 100644 --- a/app/logical/iqdb/command.rb +++ b/app/logical/iqdb/command.rb @@ -13,7 +13,7 @@ module Iqdb def add(post) hex = post.id.to_s(16) process do |io| - io.puts "add 0 #{hex} :#{post.preview_file_path}" + io.puts "add 0 #{hex}:#{post.preview_file_path}" io.puts "quit" end end diff --git a/app/logical/iqdb/importer.rb b/app/logical/iqdb/importer.rb index f71162a20..69af8df9f 100644 --- a/app/logical/iqdb/importer.rb +++ b/app/logical/iqdb/importer.rb @@ -6,7 +6,7 @@ module Iqdb if File.exists?(post.preview_file_path) puts post.id hex = post.id.to_s(16) - io.puts "add 0 #{hex} :#{post.preview_file_path}" + io.puts "add 0 #{hex}:#{post.preview_file_path}" end end io.puts "quit" diff --git a/app/logical/iqdb/server.rb b/app/logical/iqdb/server.rb index e6ca4a8dc..cc8471c77 100644 --- a/app/logical/iqdb/server.rb +++ b/app/logical/iqdb/server.rb @@ -30,7 +30,7 @@ module Iqdb def add(post) request do hex = post.id.to_s(16) - socket.puts "add 0 #{hex} :#{post.preview_file_path}" + socket.puts "add 0 #{hex}:#{post.preview_file_path}" end end