ソースを参照

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)


読み込み中…
キャンセル
保存