1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-06-01 02:09:25 +02:00

Adapt to new model (WIP) - 2

This commit is contained in:
Marc 2019-01-08 07:38:59 +01:00
parent db66cbf12d
commit 4ce5d78b23
2 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ class Country:
def get_ambit(self, ambit_to_get):
for ambit in self.ambits:
if ambit.name == ambit_to_get.name:
if ambit.name == ambit_to_get:
return ambit
return None