Skip to content

Commit

Permalink
fix/csv_parser: nomenclature finding
Browse files Browse the repository at this point in the history
  • Loading branch information
Clemsazert committed Jan 8, 2025
1 parent 5014fa9 commit 80050b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csv_parser/csv_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_nomenclature(elem):
path_file = ''
nomenclature_files = os.listdir(os.path.join("..", "nomenclature_parser", "out", "latest", "csv"))
for filename in nomenclature_files:
if filename.startswith(nomenclature_name):
if filename[:-4] == nomenclature_name:
path_file = os.path.join("..", "nomenclature_parser", "out", "latest", "csv", filename)

if path_file != '':
Expand Down

0 comments on commit 80050b1

Please sign in to comment.