Commit 9be48f8f by ALLEN WANG QIANG

Properly set @inited variable

parent e5b12583
...@@ -72,7 +72,7 @@ module Paperclip ...@@ -72,7 +72,7 @@ module Paperclip
def init def init
return if @inited return if @inited
::Qiniu.establish_connection! @options[:qiniu_credentials] ::Qiniu.establish_connection! @options[:qiniu_credentials]
inited = true @inited = true
end end
def upload(file, path) def upload(file, path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment