forgot one instance of include not loading the correct processor const

git-svn-id: http://svn.techno-weenie.net/projects/plugins/attachment_fu@2694 567b1171-46fb-0310-a4c9-b4bef9110e78
This commit is contained in:
technoweenie 2007-01-15 23:10:30 +00:00
Родитель 6c6023db30
Коммит 7221288404
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -73,7 +73,7 @@ module Technoweenie # :nodoc:
when nil
processors = Technoweenie::AttachmentFu.default_processors.dup
begin
include Technoweenie::AttachmentFu::Processors.const_get(processors.first) if processors.any?
include Technoweenie::AttachmentFu::Processors.const_get("#{processors.first}Processor") if processors.any?
rescue LoadError, MissingSourceFile
processors.shift
retry