getThreadInfo fix: removed parens from assertion
This commit is contained in:
@@ -521,7 +521,7 @@ class Client(object):
|
|||||||
:param thread_type: (optional) change from 'user' for group threads
|
: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 = {}
|
data = {}
|
||||||
if thread_type == 'user':
|
if thread_type == 'user':
|
||||||
|
Reference in New Issue
Block a user