소스 검색

Differentiate between completely blank pages and nonexistant or unretrievable pages.

tags/v0.1^2
Ben Kurtovic 12 년 전
부모
커밋
5088315db4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      bot/tasks/afc_statistics.py

+ 2
- 2
bot/tasks/afc_statistics.py 파일 보기

@@ -295,7 +295,7 @@ class Task(BaseTask):
which are then saved to our database.
"""
content = self.get_content(title)
if not content:
if content is None:
msg = "Could not get page content for [[{0}]]".format(title)
self.logger.error(msg)
return
@@ -329,7 +329,7 @@ class Task(BaseTask):
is then updated.
"""
content = self.get_content(title)
if not content:
if content is None:
msg = "Could not get page content for [[{0}]]".format(title)
self.logger.error(msg)
return


불러오는 중...
취소
저장