Browse Source

Fix another bug.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
1de7efe06e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      earwigbot/tasks/drn_clerkbot.py

+ 2
- 1
earwigbot/tasks/drn_clerkbot.py View 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)


Loading…
Cancel
Save