Changed code indentation

This commit is contained in:
Peter Yefi 2021-10-26 11:12:02 +00:00
parent 8e86f299d5
commit bf649638d7

View File

@ -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)()