FIX: A variable name typo

Not that this whole method is used much anymore.
This commit is contained in:
Jarek Radosz 2020-06-19 19:28:54 +02:00
parent 47a1157458
commit f28ea4751b

View File

@ -329,7 +329,7 @@ class Upload < ActiveRecord::Base
follow_redirect: true follow_redirect: true
) )
rescue OpenURI::HTTPError rescue OpenURI::HTTPError
retry if (retires += 1) < 1 retry if (retries += 1) < 1
next next
end end