From 3091b38a62cb1462586319a1f2c1fccf343b481e Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 19 Oct 2013 18:28:15 -0400 Subject: [PATCH] Remove reference to AFCStatistics.get_short_title() --- commands/afc_report.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/afc_report.py b/commands/afc_report.py index 482b315..0b05dc0 100644 --- a/commands/afc_report.py +++ b/commands/afc_report.py @@ -76,7 +76,6 @@ class AFCReport(Command): def report(self, page): url = page.url.encode("utf8") url = url.replace("en.wikipedia.org/wiki", "enwp.org") - short = self.statistics.get_short_title(page.title) status = self.get_status(page) user = page.get_creator() user_name = user.name @@ -88,7 +87,7 @@ class AFCReport(Command): if status == "accepted": msg3 = "Reviewed by \x0302{0}\x0F ({1})" - self.reply(self.data, msg1.format(short, url)) + self.reply(self.data, msg1.format(page.title.encode("utf8"), url)) self.say(self.data.chan, msg2.format(status)) self.say(self.data.chan, msg3.format(user_name, user_url))