From 74cc26e998f29ceccdfef42495f5509e75ba19f3 Mon Sep 17 00:00:00 2001 From: NotoriousRebel Date: Fri, 15 Feb 2019 23:02:16 -0500 Subject: [PATCH] Made sure to handle the case if an improper @ symbol is in the handles. --- discovery/twittersearch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discovery/twittersearch.py b/discovery/twittersearch.py index a2c52e96..7f452f40 100644 --- a/discovery/twittersearch.py +++ b/discovery/twittersearch.py @@ -47,6 +47,8 @@ class search_twitter: if '...' in handle: handle = handle[:handle.index('.')] handles.add(handle) + if '@' in handles: + handles.remove('@') return handles def process(self):