getThreadInfo fix: removed parens from assertion

This commit is contained in:
botcs
2017-03-07 14:39:10 +01:00
parent d2d77501e4
commit f4cac4b8db

View File

@@ -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':