fixes #2130
This commit is contained in:
@@ -4,7 +4,6 @@ module Iqdb
|
||||
Post.find_each do |post|
|
||||
IO.popen("iqdb command #{Danbooru.config.iqdb_file}", "w+") do |io|
|
||||
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}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user