Commit 9be48f8f by ALLEN WANG QIANG

Properly set @inited variable

parent e5b12583
......@@ -72,7 +72,7 @@ module Paperclip
def init
return if @inited
::Qiniu.establish_connection! @options[:qiniu_credentials]
inited = true
@inited = true
end
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