Skip to content

A platform for community discussion. Free, open, simple.

FIX: A variable name typo

Jarek Radoszf28ea4751b81
diff --git a/app/models/upload.rb b/app/models/upload.rb
index 31c931c172b..77ecd05b5cb 100644
--- a/app/models/upload.rb
+++ b/app/models/upload.rb
@@ -329,7 +329,7 @@ class Upload < ActiveRecord::Base
follow_redirect: true
)
rescue OpenURI::HTTPError
- retry if (retires += 1) < 1
+ retry if (retries += 1) < 1
next
end