Skip to content

Commit 1f63780

Browse files
authored
Update index.md (#254)
Modify import line in order to fix: ``` NameError: name 'maas' is not defined ```
1 parent 94fe03e commit 1f63780

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/client/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Web API.
1111
```python
1212
#!/usr/bin/env python3.6
1313

14-
from maas.client import connect
14+
import maas.client
1515

1616
# Replace … with an API key previously obtained by hand from
1717
# http://$host:$port/MAAS/account/prefs/.

0 commit comments

Comments
 (0)