From c40c2b6261e7b251387bf71dde7774eee13fd47b Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Fri, 4 Jun 2010 20:37:46 +0100 Subject: [PATCH] urlcomplaints is an array not a function --- commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.py b/commands.py index 8dd8e59..fb35d4f 100644 --- a/commands.py +++ b/commands.py @@ -323,7 +323,7 @@ class UrlLog: return nicetime(time.time()-self.first) def urltype(self): z=max(len(urlcomplaints), self.count-1) - return urlcomplaints(z) + return urlcomplaints[z] urlre = re.compile("(https?://[^ ]+)( |$)") urlcomplaints = ["a contemporary","an interesting","a fascinating","an overused","a vastly overused"] -- 2.30.2