Skip to content

Commit ef68fc0

Browse files
committed
fix: file name creation
1 parent 5384272 commit ef68fc0

File tree

1 file changed

+2
-2
lines changed
  • ohsome_quality_analyst/indicators

1 file changed

+2
-2
lines changed

ohsome_quality_analyst/indicators/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def get_template(self) -> None:
157157
directory = get_module_dir(
158158
"ohsome_quality_analyst.indicators.{}".format(indicator_key)
159159
)
160-
file = os.path.join(directory, "/metadata.yaml")
161-
with open(file[0], "r") as file:
160+
file = os.path.join(directory, "metadata.yaml")
161+
with open(file, "r") as file:
162162
raw = yaml.safe_load(file)
163163
metadata = {}
164164
for k, v in raw.items():

0 commit comments

Comments
 (0)