diff options
author | jomo <github@jomo.tv> | 2014-06-21 12:50:03 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-06-21 12:50:03 +0200 |
commit | 9d4fc9f87bd6eecac50335d75c3000d22deac71d (patch) | |
tree | cad86eeed3941993b8a99fed088263526de6821e /mentio.py | |
parent | 7dcda40b1ac8642e7d379bede367b4919b69e08d (diff) |
using list(x) instead of x.tolist()
Diffstat (limited to 'mentio.py')
-rw-r--r-- | mentio.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] |