Browse Source

Bugfix.

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

+ 1
- 1
earwigbot/commands/link.py View File

@@ -45,7 +45,7 @@ class Link(Command):


elif data.command == "link": elif data.command == "link":
if not data.args: if not data.args:
if self.last[data.chan]:
if data.chan in self.last:
links = u" , ".join(self.parse_line(self.last[data.chan])) links = u" , ".join(self.parse_line(self.last[data.chan]))
self.reply(data, links.encode("utf8")) self.reply(data, links.encode("utf8"))
else: else:


+ 1
- 1
earwigbot/tasks/afc_dailycats.py View File

@@ -23,7 +23,7 @@
from earwigbot.tasks import Task from earwigbot.tasks import Task


class AFCDailyCats(Task): class AFCDailyCats(Task):
""" A task to create daily categories for [[WP:AFC]]."""
"""A task to create daily categories for [[WP:AFC]]."""
name = "afc_dailycats" name = "afc_dailycats"
number = 3 number = 3




Loading…
Cancel
Save