changeset 1737 | 9dc63101b107 |
parent 1721 | 9acf4fe1b9bb |
child 1748 | f789ffe213a3 |
--- a/app/soc/logic/allocations.py Sun Mar 08 02:05:12 2009 +0000 +++ b/app/soc/logic/allocations.py Sun Mar 08 02:13:15 2009 +0000 @@ -151,7 +151,7 @@ """Returns the amount of slots for the org within the required bounds. """ - slots = int(math.floor(slots)) + slots = int(math.floor(float(slots))) slots = min(slots, self.max_slots_per_org) slots = max(slots, self.min_slots_per_org) slots = min(slots, self.mentors[org])