We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
path
str
1 parent faa9d6e commit f0b87d4Copy full SHA for f0b87d4
1 file changed
uhubctl/usb.py
@@ -40,7 +40,7 @@ def __init__(self, path: str, enumerate_ports: bool = False) -> None:
40
path: USB hub path identifier
41
enumerate_ports: Automatically enumerate ports
42
"""
43
- self.path: str = path
+ self.path: str = str(path)
44
self.ports: List[Port] = []
45
46
if enumerate_ports:
0 commit comments