Adding missing self variable (#158)

pull/1067/head
cclauss 2018-05-07 03:25:31 +02:00 committed by Donne Martin
parent 7a4dbb1b2a
commit 4a0d7fbd8a
1 changed files with 1 additions and 1 deletions

View File

@ -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