changed hardcoded path to relative path in costs catalog factory
This commit is contained in:
parent
cef35a7e02
commit
c91edc8a83
|
@ -19,7 +19,7 @@ class CostCatalogFactory:
|
|||
"""
|
||||
def __init__(self, file_type, base_path=None):
|
||||
if base_path is None:
|
||||
base_path = 'C:/Users/JGAVALDA/PycharmProjects/hub/hub/data/costs'
|
||||
base_path = Path(Path(__file__).parent.parent / 'data/costs')
|
||||
self._catalog_type = '_' + file_type.lower()
|
||||
self._path = base_path
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user