Fix super() and typo

This commit is contained in:
Jared Esparza 2021-07-22 15:24:47 +02:00
parent 66277d205f
commit d82d51dd61
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ class Location(metaclass=PoolMeta):
@classmethod
def validate(cls, locations):
cls.validate(locations)
super().validate(locations)
for location in locations:
location.chack_company()
location.check_company()
def check_company(self):
for child in self.childs: