Commit 3aa6a709 authored by sa-ru's avatar sa-ru Committed by Francesco Poldi

Changed mentions to list if empty (not string) (#436)

parent 2a4465cd
......@@ -18,7 +18,7 @@ def getMentions(tw):
try:
mentions = tw["data-mentions"].split(" ")
except:
mentions = ""
mentions = []
return mentions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment