From ab6382801961f4e62dba54d195c03e3ba290a80e Mon Sep 17 00:00:00 2001 From: urlbot Date: Sat, 27 Sep 2014 16:50:19 +0200 Subject: [PATCH] fix multi-line plugin output --- plugins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins.py b/plugins.py index 955b1f8..bb4744b 100644 --- a/plugins.py +++ b/plugins.py @@ -317,7 +317,7 @@ def data_parse_commands(data): if None != ret: if 'msg' in ret.keys(): - if str == type(ret['msg']): + if str == type(ret['msg']) or unicode == type(ret['msg']): ratelimit_touch(RATE_CHAT) chat_write(ret['msg']) else: