Skip to content

Commit

Permalink
fix(log): the log method
Browse files Browse the repository at this point in the history
  • Loading branch information
acrazing committed Apr 28, 2017
1 parent ff41cdd commit 6723bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbapi/DoubanAPI.py
Expand Up @@ -121,7 +121,7 @@ def flush(self):
r1 = requests.get(API_ACCOUNT_HOME, headers=self.headers, cookies=self.cookies)
self.user_alias = slash_right(r1.url)
self.cookies.update(dict(r1.cookies))
self.logger.log('flush with user_alias <%s>' % self.user_alias)
self.logger.info('flush with user_alias <%s>' % self.user_alias)
return self

def use(self, cookies):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -14,7 +14,7 @@

setup(
name='dbapi',
version='0.0.4',
version='0.0.5',
description='基于爬虫的豆瓣API SDK',
url='https://github.com/acrazing/dbapi',
author='acrazing',
Expand Down

0 comments on commit 6723bfd

Please sign in to comment.