From a94516bd2049a8b910b01297aefb36a6f2470538 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Thu, 19 Mar 2015 21:09:56 +0100 Subject: [PATCH] Fix string to list --- getter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/getter.py b/getter.py index 7c2280f..08bedcf 100755 --- a/getter.py +++ b/getter.py @@ -73,7 +73,8 @@ while True: words = text.split(" ") for word in words: - wordlist += word + if word[0] = "@": + wordlist += [word] wordlist = list(set(wordlist)) try: