Skip to content

Commit 4c61029

Browse files
committed
Change uhubctl path
Explain how to change uhubctl path Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>
1 parent e6d4692 commit 4c61029

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,13 @@ port.status = True
4343

4444
print("Get port 1-1.1 status")
4545
print(port.status)
46-
```
46+
```
47+
48+
# FAQ
49+
50+
### How can I specify the path to ´uhubctl´
51+
52+
```python
53+
uhubctl.discover_hubs(uhubctl_binary="sudo /usr/local/bin/uhubctl")
54+
uhubctl.Hub("1-1", uhubctl_binary="sudo /usr/local/bin/uhubctl")
55+
```

0 commit comments

Comments
 (0)