diff --git a/cl/api/utils.py b/cl/api/utils.py index 799d607260..6a132fc297 100644 --- a/cl/api/utils.py +++ b/cl/api/utils.py @@ -737,7 +737,9 @@ def invert_user_logs( dates = make_date_str_list(start, end) for d in dates: for version in ["v3", "v4"]: - pipe.zrange(f"api:{version}.user.d:{d}.counts", 0, -1, withscores=True) + pipe.zrange( + f"api:{version}.user.d:{d}.counts", 0, -1, withscores=True + ) results = pipe.execute() # results is a list of results for each of the zrange queries above. Zip