

def init_app(self, app):
    self._access_key = app.config.get('QINIU_ACCESS_KEY', '')
    self._secret_key = app.config.get('QINIU_SECRET_KEY', '')
    self._bucket_name = app.config.get('QINIU_BUCKET_NAME', '')
    domain = self.config.get('QINIU_BUCKET_DOMAIN')
    if (not domain):
        self._base_url = (('http://' + self._bucket_name) + '.qiniudn.com')
    else:
        self._base_url = ('http://' + domain)

dataset/ETHPy150Open csuzhangxc/Flask-QiniuStorage/flask_qiniustorage.py Qiniu.init_app/VarMisuse@59/92 `app`->`self`