diff options
author | gilad_ilsar <gandismidas1> | 2016-09-21 23:38:53 +0300 |
---|---|---|
committer | gilad_ilsar <gandismidas1> | 2016-09-21 23:38:53 +0300 |
commit | 081eac29a20ab8485f2b8180654a6d4b808e2df7 (patch) | |
tree | d914baf405d9c285b097734cc07c1f4cc93e7308 /entities | |
parent | 09fc8c272319fd864d4c3c8f4a67148a1340f15c (diff) |
implemented the factory
Diffstat (limited to 'entities')
-rw-r--r-- | entities/location.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entities/location.py b/entities/location.py index 8130632..9636c3b 100644 --- a/entities/location.py +++ b/entities/location.py @@ -2,7 +2,7 @@ from entities.basic_entity import BasicEntity class Location(BasicEntity): - def __init__(self, name, types, coordinates): + def __init__(self, name, types, name_in_langs): self.name = name self.types = types - self.coordinates = coordinates + self.name_in_langs = name_in_langs |