From 081eac29a20ab8485f2b8180654a6d4b808e2df7 Mon Sep 17 00:00:00 2001 From: gilad_ilsar Date: Wed, 21 Sep 2016 23:38:53 +0300 Subject: implemented the factory --- entities/location.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'entities') 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 -- cgit v1.2.3