From f4cac4b8dbd6d1bb310d0240edb7fa585fbede2e Mon Sep 17 00:00:00 2001 From: botcs Date: Tue, 7 Mar 2017 14:39:10 +0100 Subject: [PATCH] getThreadInfo fix: removed parens from assertion --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 0e75cad..b8f8c80 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -521,7 +521,7 @@ class Client(object): :param thread_type: (optional) change from 'user' for group threads """ - assert(length > 0, 'length must be positive integer, got %d'%length) + assert length > 0, 'length must be positive integer, got %d'%length data = {} if thread_type == 'user':