Commit 4a7d2e45 authored by cclauss's avatar cclauss Committed by Donne Martin
Browse files

Adding missing self variable (#158)

parent a70a8f3a
......@@ -64,7 +64,7 @@ class ParkingLot(object):
self.levels = [] # List of Levels
def park_vehicle(self, vehicle):
for level in levels:
for level in self.levels:
if level.park_vehicle(vehicle):
return True
return False
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment