From 2580cf557744d7320bef3bf09352cdfc37178b63 Mon Sep 17 00:00:00 2001 From: botcs Date: Tue, 7 Mar 2017 14:54:04 +0100 Subject: [PATCH] getThreadInfo fix: start is deprecated, method always returns with 0 offset --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index b8f8c80..a7b62d7 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':