old_contents: from config import *
  from qiniu import Auth
  q = Auth(QN_ACCESS_KEY, QN_SECRET_KEY)
  bucket_name = 'udon'
  
  def get_qn_token():
      return q.upload_token(bucket_name)
  
new_contents: from config import *
  from qiniu import Auth
  try:
      q = Auth(QN_ACCESS_KEY, QN_SECRET_KEY)
  except:
      q = None
      print '-------no qiniu======'
  bucket_name = 'udon'
  
  def get_qn_token():
      return q.upload_token(bucket_name)
  
subject: fix qn