Fix build break

This commit is contained in:
Arun Prakash Jana 2020-05-16 07:32:07 +05:30
parent a9fc0bd042
commit 6bf950ab4c
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -588,6 +588,6 @@ class StatisticView(BaseView): # pylint: disable=too-few-public-methods
)
def chunks(l, n):
def chunks(arr, n):
n = max(1, n)
return (l[i:i+n] for i in range(0, len(l), n))
return (arr[i:i+n] for i in range(0, len(arr), n))