diff --git a/imports/energy_systems_factory.py b/imports/energy_systems_factory.py index ecc2f30d..964353e7 100644 --- a/imports/energy_systems_factory.py +++ b/imports/energy_systems_factory.py @@ -11,6 +11,7 @@ class EnergySystemsFactory: """ EnergySystemsFactory class """ + def __init__(self, handler, city, base_path=None): if base_path is None: base_path = Path(Path(__file__).parent.parent / 'data/energy_systems') @@ -18,7 +19,7 @@ class EnergySystemsFactory: self._city = city self._base_path = base_path - def _xlsxheatpump(self): + def _xlsx_heat_pump(self): """ Enrich the city by using xlsx heat pump information """ @@ -30,4 +31,3 @@ class EnergySystemsFactory: :return: None """ getattr(self, self._handler, lambda: None)() -