diff --git a/shiftregister/fallback/distribution.py b/shiftregister/fallback/distribution.py index 60f76d5..9703d9d 100644 --- a/shiftregister/fallback/distribution.py +++ b/shiftregister/fallback/distribution.py @@ -50,7 +50,7 @@ def distribute(total_slots, total_assignments, pool, qs=None): if bucket.has_sub_buckets(): yield from distribute(bucket_slots, bucket_assignments, bucket, qs) else: - yield bucket_assignments, bucket_qs + yield bucket_qs, bucket_assignments total_slots -= bucket_slots total_assignments -= bucket_assignments