Skip to content

Commit e7032ed

Browse files
author
Jean THOMAS
committed
utmi: Fix importlib compatibility with Python 3.10
1 parent f855225 commit e7032ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambdalib/cores/usb/utmi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def elaborate(self, platform):
3535
o_utmi_rxactive_o=self.utmi.rx_active,
3636
o_utmi_rxerror_o=self.utmi.rx_error,
3737
o_utmi_linestate_o=self.utmi.line_state)
38-
instance_file = importlib.resources.files() / "ulpi_wrapper.v"
38+
instance_file = importlib.resources.files("lambdalib.cores.usb") / "ulpi_wrapper.v"
3939
with instance_file.open("rt") as f:
4040
platform.add_file("ulpi_wrapper.v", f)
4141

0 commit comments

Comments
 (0)