소스 검색

time_since_update when no updates have occured should not be zero!

pull/24/head
Ben Kurtovic 12 년 전
부모
커밋
314663a5e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      pages/copyvios.mako

+ 1
- 1
pages/copyvios.mako 파일 보기

@@ -135,7 +135,7 @@
try:
time_since_update = int(time() - cursor.fetchall()[0][0])
except IndexError:
time_since_update = 0
time_since_update = time()
if time_since_update > max_staleness:
update_sites(bot.wiki.get_site(), cursor)
cursor.execute(query2)


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