Skip to content

Commit bb53c03

Browse files
committed
fix pathlib conversion (#632)
1 parent bcdabe4 commit bb53c03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vunit/sim_if/modelsim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def find_prefix_from_path(cls):
7070
"""
7171

7272
def has_modelsim_ini(path):
73-
return os.path.isfile(str(Path(path) / "modelsim.ini"))
73+
return os.path.isfile(str(Path(path).parent / "modelsim.ini"))
7474

7575
return cls.find_toolchain(["vsim"], constraints=[has_modelsim_ini])
7676

0 commit comments

Comments
 (0)