Commit d9b9258b by LI Daobing Committed by GitHub

Merge pull request #8 from allenwq/master

Properly set @inited variable
parents e5b12583 9be48f8f
......@@ -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