Sfoglia il codice sorgente

Fix another bug.

tags/v0.1^2
Ben Kurtovic 12 anni fa
parent
commit
1de7efe06e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      earwigbot/tasks/drn_clerkbot.py

+ 2
- 1
earwigbot/tasks/drn_clerkbot.py Vedi File

@@ -633,8 +633,9 @@ class DRNClerkBot(Task):
except exceptions.PageNotFoundError:
text = ""
if notice.too_late and notice.too_late in text:
log = u"Skipping [[{0}]]; was already notified with '{1}'"
log = u"Skipped [[{0}]]; was already notified with '{1}'"
self.logger.info(log.format(page.title, template))
continue
text += ("\n" if text else "") + template
try:
page.edit(text, self.notify_summary, minor=False, bot=True)


Caricamento…
Annulla
Salva