From aa8ffd95b17a438d8be494d448a997e39e902544 Mon Sep 17 00:00:00 2001 From: jomo Date: Sat, 21 Jun 2014 12:50:03 +0200 Subject: [PATCH] using list(x) instead of x.tolist() --- mentio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mentio.py b/mentio.py index bda1e6d..70dff73 100644 --- a/mentio.py +++ b/mentio.py @@ -15,7 +15,7 @@ def onChat(event): words = event.getMessage().split(" ") recipients = event.getRecipients() - for recipient in recipients.tolist(): + for recipient in list(recipients): rec_words = words[:] # copy for i in range(len(rec_words)): word = rec_words[i]