From 4ab741ee120c9feb0c1112ba1aa8c6db689c5ab2 Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Tue, 25 Apr 2023 10:23:37 -0400 Subject: [PATCH] changed hardcoded path to relative path in costs catalog --- hub/catalog_factories/cost/montreal_custom_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/catalog_factories/cost/montreal_custom_catalog.py b/hub/catalog_factories/cost/montreal_custom_catalog.py index 5df24d9f..894695cf 100644 --- a/hub/catalog_factories/cost/montreal_custom_catalog.py +++ b/hub/catalog_factories/cost/montreal_custom_catalog.py @@ -20,7 +20,7 @@ from hub.catalog_factories.data_models.cost.cost_helper import CostHelper class MontrealCustomCatalog(Catalog): def __init__(self, path): - path = 'C:/Users/JGAVALDA/PycharmProjects/hub/hub/data/costs/montreal_costs.xml' + path = (path / 'montreal_costs.xml') with open(path) as xml: self._archetypes = xmltodict.parse(xml.read(), force_list='archetype')