diff --git a/plugins/wordnik.py b/plugins/wordnik.py index 23b4815a2..8b129ddac 100644 --- a/plugins/wordnik.py +++ b/plugins/wordnik.py @@ -168,7 +168,8 @@ def pronounce(text, event): raise out = colors.parse("$(b){}$(b): ").format(text) - out += " • ".join([i['raw'] for i in json]) + items = [i['raw'] for i in json] + out += " • ".join(items) try: json = word_lookup(text, "audio", limit=1)